# HG changeset patch # User maedhros # Date 1192277047 0 # Node ID 4be4d9bca5de9f242b380ab9803ff830de7b28d8 # Parent ae76f089652d8b402d1160ac35219fc7861139d9 (svn r11254) -Fix: Link with -lpthread on FreeBSD. diff -r ae76f089652d -r 4be4d9bca5de config.lib --- a/config.lib Sat Oct 13 02:49:05 2007 +0000 +++ b/config.lib Sat Oct 13 12:04:07 2007 +0000 @@ -882,6 +882,10 @@ 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