Add support for dfbsd to mklib script.
authorHasso Tepper <hasso@estpak.ee>
Wed, 9 Apr 2008 18:03:05 +0000 (11:03 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 9 Apr 2008 18:03:05 +0000 (11:03 -0700)
bin/mklib

index 90bf834b4354976d8bb41d8c7a98a7deec06b224..2fb215e7d7fa96c9a72a2968a7cea9f134a6b5a6 100755 (executable)
--- 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