---
 libltdl/m4/libtool.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 3a65ec4..0638091 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -6413,7 +6413,7 @@ if AC_TRY_EVAL(ac_compile); then
   pre_test_object_deps_done=no
 
   for p in `eval "$output_verbose_link_cmd"`; do
-    case $p in
+    case ${prev}${p} in
 
     -L* | -R* | -l*)
        # Some compilers place space between "-{L,R}" and the path.
@@ -6427,7 +6427,7 @@ if AC_TRY_EVAL(ac_compile); then
        fi
 
        if test "$pre_test_object_deps_done" = no; then
-        case $p in
+        case ${prev}${p} in
         -L* | -R*)
           # Internal compiler library paths should come after those
           # provided the user.  The postdeps already come after the
-- 
1.7.1



Reply via email to