]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/config/ltmain.m4sh (func_mode_link): Fix matching
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 30 Jan 2006 20:20:54 +0000 (20:20 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 30 Jan 2006 20:20:54 +0000 (20:20 +0000)
duplicate run path entries with the correct separator.

ChangeLog
libltdl/config/ltmain.m4sh

index 583f8fde8d6f7dfbd62d6c1823109153f5702826..c1c55e1a0fa5ca823dda772f6e5cc8d141bb52d3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-01-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * 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.
 
index 6b19bcad2053426c77630991232519e86ef9a27a..f9ac297274eabb9236b4cd24e381eb61e8282c0c 100644 (file)
@@ -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