]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ gnu ]
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 29 Jan 2007 19:51:58 +0000 (19:51 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 29 Jan 2007 19:51:58 +0000 (19:51 +0000)
<archive_expsym_cmds>: Behave like Linux, so that
--version-script is used for Hurd as well.

ChangeLog
libtool.m4

index 3ef6394e03b7dd28e2c813704abd92b5212549f1..67bd215ea4f8d46289e83b24727c90057ada1343 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-01-29  Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+       * libtool.m4 (AC_LIBTOOL_PROG_LD_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.
index 6fb8529c22cafdba022beb462787a18c694246a7..475ab9870012501961ce488e63e0c0d460816f5b 100644 (file)
@@ -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