]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4: don't use -nodefaultlibs in archive_commands
authorNick Hudson <skrll@netbsd.org>
Tue, 4 Feb 2003 15:15:45 +0000 (15:15 +0000)
committerRobert Boehne <rboehne@gnu.org>
Tue, 4 Feb 2003 15:15:45 +0000 (15:15 +0000)
or archive_expsym_commands on NetBSD.

ChangeLog
libtool.m4

index 59947e01327dcdd52af45c57bfd66d52ed499782..49851c0888526058ecfc8190442fc4113bb8789c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-04  Nick Hudson  <skrll@netbsd.org>
+
+       * libtool.m4: don't use -nodefaultlibs in archive_commands
+       or archive_expsym_commands on NetBSD.
+
 2003-02-04  Albert Chin-A-Young  <china@thewrittenword.com>
 
        * libtool.m4: Change setting of archive_cmds_need_lc
index 4b06b6be46efaf89a0bef32907d6a9707489b030..3827d5998d1b97e1d4c009fa66ec62d2dbea0a05 100644 (file)
@@ -4927,8 +4927,8 @@ EOF
        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
       else
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       fi
       ;;