From d94267b5d6388f6e576f093166731a2a07b82be6 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Mon, 14 Aug 2023 11:32:37 +0200 Subject: [PATCH] Fix linking with libpthreads --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8b9cdc6..fab9f97 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ SRCS= threads.h call_once.c cnd.c mtx.c thrd.c tss.c MAN= thrd_create.3 CPPFLAGS+= -Wno-incompatible-pointer-types-discards-qualifiers -LIBADD= pthread +LDADD= -L${BSDOBJDIR}/lib/librthread -lpthread VERSION_SCRIPT= ${.CURDIR}/Symbol.map