From f0741bc7a072b437219ce74f85d2ad478586baf7 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Thu, 15 Feb 2018 04:41:22 +0000 Subject: [PATCH] build: use -lucontext instead of libucontext.so in linker flags for test program --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b524a2b..51365a3 100644 --- a/Makefile +++ b/Makefile @@ -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