]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/link-order.at: Be careful about usage of shrext_cmds.
authorGary V. Vaughan <gary@gnu.org>
Wed, 17 May 2006 17:50:05 +0000 (17:50 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 17 May 2006 17:50:05 +0000 (17:50 +0000)
ChangeLog
tests/link-order.at

index b1f656d82136143592f485d0d7cddc5d251d8f07..bbe123dd9689a6c2d07de46b106b978de5f5ec8a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-05-17  Gary V. Vaughan  <gary@gnu.org>
 
+       * tests/link-order.at: Be careful about usage of shrext_cmds.
+
        * libltdl/m4/libtool.m4 (LT_AC_PROG_SED):  Declarations for
        compatibility with old versions of libtool, and old versions
        of aclocal.
index 403347a964cb1f34c997c221da5a52f003650150..75f96e517a4f0a6715f8616611ce97ae561c74be 100644 (file)
@@ -23,6 +23,9 @@ AT_KEYWORDS([libtool])
 eval `$LIBTOOL --config | $EGREP '^(hardcode_direct|hardcode_direct_static|shrext_cmds)='`
 LDFLAGS="$LDFLAGS -no-undefined"
 
+module=no
+eval shared_ext=\"$shrext_cmds\"
+
 prefix_old=`pwd`/old
 prefix_new=`pwd`/new
 mkdir src $prefix_old $prefix_new $prefix_old/lib $prefix_new/lib
@@ -72,7 +75,7 @@ aix* | interix*) ;;  # These systems have different path syntax
   case $hardcode_direct$hardcode_direct_static in
   yesno)
     AT_CHECK([if $EGREP relinking stderr; then
-         $EGREP " .*\/new\/lib/libb$shrext_cmds .*\/old\/lib/libcee$shrext_cmds" stdout
+         $EGREP " .*\/new\/lib/libb$shared_ext .*\/old\/lib/libcee$shared_ext" stdout
        else :; fi], [0], [ignore], [], [echo "wrong link order"])
     ;;
   *)