From: Samuel Thibault Date: Mon, 29 Jan 2007 19:51:58 +0000 (+0000) Subject: * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ gnu ] X-Git-Tag: release-1-5-23b~7 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d82a44fcb3d62c1d956acb5c2df65119459702cb;p=thirdparty%2Flibtool.git * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ gnu ] : Behave like Linux, so that --version-script is used for Hurd as well. --- diff --git a/ChangeLog b/ChangeLog index 3ef6394e0..67bd215ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-01-29 Samuel Thibault + + * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ gnu ] + : Behave like Linux, so that + --version-script is used for Hurd as well. + 2007-01-28 Charles Wilson * NEWS: Update for Cygwin changes. diff --git a/libtool.m4 b/libtool.m4 index 6fb8529c2..475ab9870 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -5662,7 +5662,7 @@ EOF _LT_AC_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* | k*bsd*-gnu) + gnu* | linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in