From: Ralf Wildenhues Date: Mon, 30 Jan 2006 20:20:54 +0000 (+0000) Subject: * libltdl/config/ltmain.m4sh (func_mode_link): Fix matching X-Git-Tag: release-2-1b~334 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bc6f72db28ddaa8983a10a06a972ce714b6575b;p=thirdparty%2Flibtool.git * libltdl/config/ltmain.m4sh (func_mode_link): Fix matching duplicate run path entries with the correct separator. --- diff --git a/ChangeLog b/ChangeLog index 583f8fde8..c1c55e1a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-01-30 Ralf Wildenhues + * libltdl/config/ltmain.m4sh (func_mode_link): Fix matching + duplicate run path entries with the correct separator. + * tests/testsuite.at (PREPARE_TESTS): Escape `^' for some older shells. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 6b19bcad2..f9ac29727 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -3598,7 +3598,7 @@ func_mode_link () # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. - case "$temp_rpath " in + case "$temp_rpath:" in *"$absdir:"*) ;; *) temp_rpath="$temp_rpath$absdir:" ;; esac