Skip to content

Commit

Permalink
glibc wants -lpthread at the end
Browse files Browse the repository at this point in the history
glibc -lpthread also needs -Wl,--whole-archive but that's a glibc bug
  • Loading branch information
Szabolcs Nagy committed Apr 10, 2015
1 parent 84bd22c commit 0dbf95f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.mak.def
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0dbf95f

Please sign in to comment.