From f716de66483245056299a48f08e3fe46c7c6bd73 Mon Sep 17 00:00:00 2001 From: Nick Hudson Date: Tue, 4 Feb 2003 15:15:45 +0000 Subject: [PATCH] * libtool.m4: don't use -nodefaultlibs in archive_commands or archive_expsym_commands on NetBSD. --- ChangeLog | 5 +++++ libtool.m4 | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 ;; -- 2.47.2