From 7f87811e39bf6170d0d349ba431e3878eb6da601 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Tue, 30 May 2000 00:13:11 +0000 Subject: [PATCH] * ltconfig.in (netbsd*): archive_cmds and archive_expsym_cmds were reversed with respect to definition of __ELF__. From Keisuke Inoue --- ChangeLog | 6 ++++++ ltconfig.in | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 79eb4fb4d..25cd05e51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-05-30 Gary V. Vaughan + + * ltconfig.in (netbsd*): archive_cmds and archive_expsym_cmds + were reversed with respect to definition of __ELF__. + From Keisuke Inoue + 2000-05-29 Gary V. Vaughan * libtool.m4 (netbsd*): Use -L option to file_magic_cmd as for diff --git a/ltconfig.in b/ltconfig.in index 7e2e568b9..774bd25a3 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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 ;; -- 2.47.3