summaryrefslogtreecommitdiffstats
path: root/bin/mklib
diff options
context:
space:
mode:
authorHasso Tepper <[email protected]>2008-04-09 18:59:19 -0600
committerBrian Paul <[email protected]>2008-04-09 18:59:19 -0600
commit4b24d5261ae175b1e49ac1736c0d8171cf441648 (patch)
treef119a5de4194cd883365f62e252204d1a93e6216 /bin/mklib
parent4b96a39c48a20ccd5dfe304d5504855410bea7c0 (diff)
patches for DragonFly OS
Diffstat (limited to 'bin/mklib')
-rwxr-xr-xbin/mklib6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/mklib b/bin/mklib
index 90bf834b435..6d353b24557 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -111,6 +111,10 @@ do
# this is a special case (see bugzilla 10876)
DEPS="$DEPS $1"
;;
+ -Wl*)
+ # Another special case for DragonFly
+ DEPS="$DEPS $1"
+ ;;
'-pthread')
DEPS="$DEPS -pthread"
;;
@@ -198,7 +202,7 @@ fi
#
case $ARCH in
- 'Linux' | 'OpenBSD' | 'GNU' | GNU/*)
+ 'Linux' | 'OpenBSD' | 'DragonFly' | 'GNU' | GNU/*)
# we assume gcc
if [ "x$LINK" = "x" ] ; then