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

ChangeLog
ltconfig.in

index 79eb4fb4d78e9805127610565fe4fa99131fac40..25cd05e51b12a2d73a56617fb5e7ea779c32d8c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-05-30  Gary V. Vaughan  <gvv@techie.com>
+
+       * ltconfig.in (netbsd*): archive_cmds and archive_expsym_cmds
+       were reversed with respect to definition of __ELF__.
+       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 7e2e568b9fa6516ad21b62ca271f72783cfccd64..774bd25a3dba232b8f092c252fb99e06a94cf5c7 100755 (executable)
@@ -1086,10 +1086,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
     ;;