[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: really remove duplicate run paths
From: |
Ralf Wildenhues |
Subject: |
FYI: really remove duplicate run paths |
Date: |
Mon, 30 Jan 2006 21:20:29 +0100 |
User-agent: |
Mutt/1.5.9i |
Applied to HEAD (not present in branch-1-5). This patch is pretty
obvious when looking at the code: it originated from the pieces below,
which deal with space-separated variables. Due to the colon separation,
we now need to match with a colon as well. The bug was harmless though,
most link editors will throw away the duplicate run path entry anyway.
Cheers,
Ralf
* libltdl/config/ltmain.m4sh (func_mode_link): Fix matching
duplicate run path entries with the correct separator.
Index: libltdl/config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/config/ltmain.m4sh,v
retrieving revision 1.31
diff -u -r1.31 ltmain.m4sh
--- libltdl/config/ltmain.m4sh 30 Jan 2006 20:09:41 -0000 1.31
+++ libltdl/config/ltmain.m4sh 30 Jan 2006 20:18:01 -0000
@@ -3598,7 +3598,7 @@
# 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: really remove duplicate run paths,
Ralf Wildenhues <=