From: Paolo Bonzini Date: Wed, 28 Jul 2010 21:55:24 +0000 (+0200) Subject: fix bug in postdeps computation X-Git-Tag: v2.4~104 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a107f18041e458fa9fe521d33c8d316a088447c9;p=thirdparty%2Flibtool.git fix bug in postdeps computation * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Actually concatenate $prev and $p. Signed-off-by: Paolo Bonzini --- diff --git a/ChangeLog b/ChangeLog index a5ef374c2..a0e046915 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,13 @@ +2010-08-01 Paolo Bonzini + + Fix bug in postdeps computation + * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Actually + concatenate $prev and $p. + 2010-07-26 Charles Wilson Don't always skip XSI tests - tests/getopt-m4sh.at: Use new signature as implemented by + * tests/getopt-m4sh.at: Use new signature as implemented by de8a0992b21b76a13c302cf48588ad5f6042595c, when determining whether to test Extended-shell functions. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 47d25581e..f61be283c 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -6724,7 +6724,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. @@ -6738,7 +6738,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