* 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>
This commit is contained in:
Gary V. Vaughan 2000-05-30 00:13:11 +00:00
parent a2785e0c99
commit 7f87811e39
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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
;;