(svn r11254) -Fix: Link with -lpthread on FreeBSD.
authormaedhros
Sat, 13 Oct 2007 12:04:07 +0000
changeset 8215 a229b1703c9d
parent 8214 854acef589c8
child 8216 12d1cff88d38
(svn r11254) -Fix: Link with -lpthread on FreeBSD.
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