From: Szabolcs Nagy Date: Fri, 10 Apr 2015 21:17:06 +0000 (+0000) Subject: glibc wants -lpthread at the end X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=commitdiff_plain;h=0dbf95f3e19a5b95a0f312950137743b8ab04e91;ds=sidebyside glibc wants -lpthread at the end glibc -lpthread also needs -Wl,--whole-archive but that's a glibc bug --- 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