build: use -lucontext instead of libucontext.so in linker flags for test program

arm_linker_fix
William Pitcock 2018-02-15 04:41:22 +00:00
parent f370b25ffc
commit f0741bc7a0
1 changed files with 1 additions and 1 deletions

View File

@ -43,6 +43,6 @@ check: test_libucontext ${LIBUCONTEXT_SONAME}
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}
$(CC) -std=c99 -D_BSD_SOURCE ${CFLAGS} ${CPPFLAGS} $@.c -o $@ -L. -lucontext
.PHONY: check