]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltcf-c.sh (netbsd*): archive_cmds and archive_expsym_cmds
authorGary V. Vaughan <gary@gnu.org>
Tue, 30 May 2000 00:21:05 +0000 (00:21 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 30 May 2000 00:21:05 +0000 (00:21 +0000)
were reversed with respect to definition of __ELF__.
* ltcf-gcj.sh (netbsd*): ditto.
From Keisuke Inoue <keisuke@csl.sony.co.jp>

ChangeLog
ltcf-c.sh
ltcf-gcj.sh

index 163fe0c371b13632d6ec5cbc0ed94fa6d58a4802..2c4d66af8a173b87b7f385751b34a1ab58587e05 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-05-30  Gary V. Vaughan  <gvv@techie.com>
+
+       * ltcf-c.sh (netbsd*): archive_cmds and archive_expsym_cmds
+       were reversed with respect to definition of __ELF__.
+       * ltcf-gcj.sh (netbsd*): ditto.
+       From Keisuke Inoue <keisuke@csl.sony.co.jp>
+
 2000-05-29  Gary V. Vaughan  <gvv@techie.com>
 
        * libtool.m4 (netbsd*): Use -L option to file_magic_cmd as for
index 7e75dbe2da3343b4a099ef8b01c4ab8a91c8b01a..098cb00f51e4c4f1ad172312f4d752999b5cb72c 100644 (file)
--- a/ltcf-c.sh
+++ b/ltcf-c.sh
@@ -171,10 +171,10 @@ EOF
 
   netbsd*)
     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+    else
       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-    else
-      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
     fi
     ;;
 
index d00dd3388fa68ef4f54f10a02b7332fe9671df96..f4e06fcc21ca85841a07cf708bd8be8be0e9b629 100644 (file)
@@ -174,10 +174,10 @@ EOF
 
   netbsd*)
     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+    else
       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-    else
-      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
     fi
     ;;