summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.lib4
1 files changed, 4 insertions, 0 deletions
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