[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
wrapper rpath proposed fix
From: |
Bob Friesenhahn |
Subject: |
wrapper rpath proposed fix |
Date: |
Sat, 27 Nov 2004 18:27:29 -0600 (CST) |
I propose that this patch be applied to branch 2.0 and HEAD. There
are other ways to ensure that the rpath used by the wrapper script is
correct (e.g. handle $thisdir differently), but they seem more complex
and error-prone. This proposed solution simply uses already available
information and assumes that it is better to provide the full-path in
the first place.
Ok to commit?
Index: ChangeLog
===================================================================
RCS file: /cvsroot/libtool/libtool/ChangeLog,v
retrieving revision 1.1667.2.88
diff -u -r1.1667.2.88 ChangeLog
--- ChangeLog 24 Nov 2004 17:24:29 -0000 1.1667.2.88
+++ ChangeLog 28 Nov 2004 00:26:43 -0000
@@ -1,3 +1,9 @@
+2004-11-27 Bob Friesenhahn <address@hidden>
+
+ * config/ltmain.m4sh: Add fully-qualified paths to temp_rpath
+ rather than unqualified paths in order to avoid possible errors
+ when computing the fully-qualified path later.
+
2004-11-24 Jeff Squyres <address@hidden>
* m4/libtool.m4 [linux] (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS,
Index: config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/config/ltmain.m4sh,v
retrieving revision 1.1.2.21
diff -u -r1.1.2.21 ltmain.m4sh
--- config/ltmain.m4sh 22 Nov 2004 22:28:48 -0000 1.1.2.21
+++ config/ltmain.m4sh 28 Nov 2004 00:26:44 -0000
@@ -3519,7 +3519,7 @@
case "$temp_rpath " in
*" $dir "*) ;;
*" $absdir "*) ;;
- *) temp_rpath="$temp_rpath $dir" ;;
+ *) temp_rpath="$temp_rpath $absdir" ;;
esac
fi
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen
- wrapper rpath proposed fix,
Bob Friesenhahn <=
Re: wrapper rpath proposed fix, Gary V. Vaughan, 2004/11/27