* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ gnu ]

<archive_expsym_cmds>: Behave like Linux, so that
--version-script is used for Hurd as well.
This commit is contained in:
Samuel Thibault 2007-01-29 19:51:19 +00:00 committed by Ralf Wildenhues
parent 51e40f80fd
commit f219156ee1
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ gnu ]
<archive_expsym_cmds>: Behave like Linux, so that
--version-script is used for Hurd as well.
2007-01-28 Charles Wilson <libtool@cwilson.fastmail.fm>
* NEWS: Update for Cygwin changes.

View File

@ -4163,7 +4163,7 @@ _LT_EOF
_LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
;;
linux* | tpf* | k*bsd*-gnu)
gnu* | linux* | tpf* | k*bsd*-gnu)
tmp_diet=no
if test "$host_os" = linux-dietlibc; then
case $cc_basename in