forked from ariadne/libucontext
build: use absolute path for LD_LIBRARY_PATH when testing
parent
79415db5a8
commit
70089a405c
2
Makefile
2
Makefile
|
@ -40,7 +40,7 @@ install: all
|
|||
ln -sf ${LIBUCONTEXT_SONAME} ${DESTDIR}/lib/${LIBUCONTEXT_NAME}
|
||||
|
||||
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}
|
||||
$(CC) -std=c99 -D_BSD_SOURCE ${CFLAGS} ${CPPFLAGS} $@.c -o $@ ${LIBUCONTEXT_NAME}
|
||||
|
|
Loading…
Reference in New Issue