mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-11 15:00:08 +08:00
* ltconfig.in [with_gnu_ld] (archive_cmds, archive_expsym_cmds)
<solaris*, sysv5*, beos*>: Use compiler_flags instead of linker flags. Reported by Alex Hornby <alex@anvil.co.uk>
This commit is contained in:
parent
49958438c9
commit
b544397637
@ -1,3 +1,10 @@
|
||||
2000-09-02 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* ltconfig.in [with_gnu_ld] (archive_cmds, archive_expsym_cmds)
|
||||
<solaris*, sysv5*, beos*>: Use compiler_flags instead of linker
|
||||
flags.
|
||||
Reported by Alex Hornby <alex@anvil.co.uk>
|
||||
|
||||
2000-09-02 Makoto Ishisone <ishisone@sra.co.jp>
|
||||
|
||||
* libtool.m4 (lt_cv_deplibs_check_method, freebsd): Fix typo,
|
||||
|
@ -1023,7 +1023,7 @@ EOF
|
||||
allow_undefined_flag=unsupported
|
||||
# Joseph Beckenbach <jrb3@best.com> 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
|
||||
|
Loading…
Reference in New Issue
Block a user