summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorHasso Tepper <hasso@estpak.ee>2008-04-09 11:03:05 -0700
committerEric Anholt <eric@anholt.net>2008-04-09 11:03:05 -0700
commitf9c8af31c5a46d176c732f71259a460753276ef6 (patch)
tree33aba61aa4ebb5c3f844b7a1c7901090d0049539 /bin
parent43887cf3967515f8e910e5091718e8e4f3a2edf7 (diff)
Add support for dfbsd to mklib script.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mklib5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/mklib b/bin/mklib
index 90bf834b435..2fb215e7d7f 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -107,6 +107,9 @@ do
-L*)
DEPS="$DEPS $1"
;;
+ -Wl*)
+ DEPS="$DEPS $1"
+ ;;
-pthread)
# this is a special case (see bugzilla 10876)
DEPS="$DEPS $1"
@@ -198,7 +201,7 @@ fi
#
case $ARCH in
- 'Linux' | 'OpenBSD' | 'GNU' | GNU/*)
+ 'Linux' | 'OpenBSD' | 'DragonFly' | 'GNU' | GNU/*)
# we assume gcc
if [ "x$LINK" = "x" ] ; then