From 9e3d19e392e1dbf04616ec4ed2dc14f57c73db5c Mon Sep 17 00:00:00 2001 From: maedhros Date: Sat, 13 Oct 2007 12:04:07 +0000 Subject: (svn r11254) -Fix: Link with -lpthread on FreeBSD. --- config.lib | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.lib b/config.lib index fb7bb312a..177485f04 100644 --- 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 -- cgit v1.2.3-70-g09d2