From: Alexandre Oliva Date: Sat, 2 Sep 2000 23:27:56 +0000 (+0000) Subject: * ltconfig.in [with_gnu_ld] (archive_cmds, archive_expsym_cmds) X-Git-Tag: release-1-3d~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b544397637b8947014f0264cddecd82f553006af;p=thirdparty%2Flibtool.git * ltconfig.in [with_gnu_ld] (archive_cmds, archive_expsym_cmds) : Use compiler_flags instead of linker flags. Reported by Alex Hornby --- diff --git a/ChangeLog b/ChangeLog index 56bf68dcf..56bc89285 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2000-09-02 Alexandre Oliva + + * ltconfig.in [with_gnu_ld] (archive_cmds, archive_expsym_cmds) + : Use compiler_flags instead of linker + flags. + Reported by Alex Hornby + 2000-09-02 Makoto Ishisone * libtool.m4 (lt_cv_deplibs_check_method, freebsd): Fix typo, diff --git a/ltconfig.in b/ltconfig.in index e28d0c3aa..7a0b2ce19 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1023,7 +1023,7 @@ EOF allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $linker_flags ${wl}-soname $wl$soname -o $lib' + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs=no fi @@ -1124,8 +1124,8 @@ EOF EOF elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $linker_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $linker_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + 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 ld_shlibs=no fi