# HG changeset patch # User maedhros # Date 2007-10-13 12:04:07 # Node ID c37f512ad98d02b030abb5feec45c868de085985 # Parent 9c487d1a51fbe860120917ca37c623aeff37b883 (svn r11254) -Fix: Link with -lpthread on FreeBSD. diff --git a/config.lib b/config.lib --- a/config.lib +++ b/config.lib @@ -882,6 +882,10 @@ make_cflags_and_ldflags() { LIBS="$LIBS -pthread" fi + if [ "$os" = "FREEBSD" ]; then + LIBS="$LIBS -lpthread" + fi + if [ "$os" = "OSX" ]; then LDFLAGS="$LDFLAGS -framework Cocoa" if [ "$enable_dedicated" = "0" ]; then