From: Nick Hudson Date: Tue, 4 Feb 2003 15:15:45 +0000 (+0000) Subject: * libtool.m4: don't use -nodefaultlibs in archive_commands X-Git-Tag: release-1-5~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f716de66483245056299a48f08e3fe46c7c6bd73;p=thirdparty%2Flibtool.git * libtool.m4: don't use -nodefaultlibs in archive_commands or archive_expsym_commands on NetBSD. --- diff --git a/ChangeLog b/ChangeLog index 59947e013..49851c088 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-02-04 Nick Hudson + + * libtool.m4: don't use -nodefaultlibs in archive_commands + or archive_expsym_commands on NetBSD. + 2003-02-04 Albert Chin-A-Young * libtool.m4: Change setting of archive_cmds_need_lc diff --git a/libtool.m4 b/libtool.m4 index 4b06b6be4..3827d5998 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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 ;;