build: use absolute path for LD_LIBRARY_PATH when testing

arm_linker_fix
William Pitcock 2018-02-14 03:30:50 +00:00
parent 79415db5a8
commit 70089a405c
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ install: all
ln -sf ${LIBUCONTEXT_SONAME} ${DESTDIR}/lib/${LIBUCONTEXT_NAME} ln -sf ${LIBUCONTEXT_SONAME} ${DESTDIR}/lib/${LIBUCONTEXT_NAME}
check: test_libucontext ${LIBUCONTEXT_SONAME} check: test_libucontext ${LIBUCONTEXT_SONAME}
env LD_LIBRARY_PATH=. ./test_libucontext env LD_LIBRARY_PATH=$(shell pwd) ./test_libucontext
test_libucontext: test_libucontext.c ${LIBUCONTEXT_NAME} test_libucontext: test_libucontext.c ${LIBUCONTEXT_NAME}
$(CC) -std=c99 -D_BSD_SOURCE ${CFLAGS} ${CPPFLAGS} $@.c -o $@ ${LIBUCONTEXT_NAME} $(CC) -std=c99 -D_BSD_SOURCE ${CFLAGS} ${CPPFLAGS} $@.c -o $@ ${LIBUCONTEXT_NAME}