From 0dbf95f3e19a5b95a0f312950137743b8ab04e91 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Fri, 10 Apr 2015 21:17:06 +0000 Subject: [PATCH] glibc wants -lpthread at the end glibc -lpthread also needs -Wl,--whole-archive but that's a glibc bug --- config.mak.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.mak.def b/config.mak.def index 49b49c1..633fef8 100644 --- a/config.mak.def +++ b/config.mak.def @@ -7,5 +7,5 @@ LDLIBS += -lpthread -lm -lrt # glibc specific settings CFLAGS += -D_FILE_OFFSET_BITS=64 -LDLIBS += -lcrypt -ldl -lresolv -lutil +LDLIBS += -lcrypt -ldl -lresolv -lutil -lpthread -- 2.20.1