]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
The libtool update broke netbsd [RT #414]
authorBrian Wellington <source@isc.org>
Wed, 25 Oct 2000 13:29:27 +0000 (13:29 +0000)
committerBrian Wellington <source@isc.org>
Wed, 25 Oct 2000 13:29:27 +0000 (13:29 +0000)
ltconfig

index 506f252816ede307b7430ff2e90dd2aa4d669979..1fbc0d8dbe2dd36d9703a9b78ed137cb5150c576 100755 (executable)
--- a/ltconfig
+++ b/ltconfig
@@ -1194,11 +1194,11 @@ EOF
 
   netbsd*)
     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
-      archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
-      archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-    else
-      archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
+      archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib' # a.out
       # can we support soname and/or expsyms with a.out? -oliva
+    else
+      archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+      archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' # ELF
     fi
     ;;