(svn r11254) -Fix: Link with -lpthread on FreeBSD.

This commit is contained in:
maedhros 2007-10-13 12:04:07 +00:00
parent f49a52c2ff
commit 9e3d19e392

View File

@ -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