From a6a64b0711a922dca12a1457518c3d74ad354d7f Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sat, 12 Dec 2020 06:37:31 +0000 Subject: [PATCH] build: fix test_libucontext_posix linkage --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8df3f4e..1304a23 100644 --- a/Makefile +++ b/Makefile @@ -181,7 +181,7 @@ check_libucontext_posix: test_libucontext_posix ${LIBUCONTEXT_POSIX_SONAME} env LD_LIBRARY_PATH=$(shell pwd) ./test_libucontext_posix test_libucontext_posix: test_libucontext_posix.c ${LIBUCONTEXT_POSIX_NAME} - $(CC) -std=gnu99 -D_BSD_SOURCE ${CFLAGS} ${CPPFLAGS} $@.c -o $@ -L. -lucontext + $(CC) -std=gnu99 -D_BSD_SOURCE ${CFLAGS} ${CPPFLAGS} $@.c -o $@ -L. -lucontext -lucontext_posix endif check: test_libucontext ${LIBUCONTEXT_SONAME}