summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-06-22 10:29:54 -0700
committerEric Anholt <eric@anholt.net>2007-06-22 11:19:42 -0700
commit1a413b4d7765bbdc5e922659a4cc8aa17b1feb2d (patch)
tree0557137e83e00dcdecbeb1166510d0d3ae824e32 /bin
parent1d52b6aaf41b32aaf8d1cdf5a3cd5ff4ecba28f4 (diff)
Use -pthread instead of -lpthread on FreeBSD.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mklib3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/mklib b/bin/mklib
index 21d48edd771..8ee8d8ce49d 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -104,6 +104,9 @@ do
# this is a special case (see bugzilla 10876)
DEPS="$DEPS $1"
;;
+ '-pthread')
+ DEPS="$DEPS -pthread"
+ ;;
'-cplusplus')
CPLUSPLUS=1
;;