libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH (the *proper* one this time)] add /usr/X11R6/lib and /usr/local/l


From: Scott James Remnant
Subject: [PATCH (the *proper* one this time)] add /usr/X11R6/lib and /usr/local/lib to Linux sys_lib_dlsearch_path_spec
Date: Fri, 31 Oct 2003 13:12:21 +0000

Just in case you were getting a bit commit-happy, here's a nasty rake in
your path!  Hahahahaha[0], or something :-)

This adds /usr/X11R6/lib and /usr/local/lib to the Linux run-time system
search path for libraries (sys_lib_dlsearch_path_spec), so they don't
get hardcoded rpaths.

To be entirely honest, this doesn't *FIX* anything, it's a Debian
policy-itch which you're entirely free to ignore.  Then again, it
doesn't seem to break anything either (at least, not that I've heard
of).  But seeing as I'm submitting everything, here it is.

Origin: me.

Scott

[0] it's Friday, ok!
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?
diff -ruNp libtool-CVS~/ChangeLog libtool-CVS/ChangeLog
--- libtool-CVS~/ChangeLog      2003-10-30 14:40:11.000000000 +0000
+++ libtool-CVS/ChangeLog       2003-10-31 13:03:43.000000000 +0000
@@ -0,0 +1,5 @@
+2003-10-31  Scott James Remnant  <address@hidden>
+
+       * m4/libtool.m4 (Linux): Add /usr/X11R6/lib and /usr/local/lib
+       to sys_lib_dlsearch_path_spec so they won't get hardcoded paths.
+
diff -ruNp libtool-CVS~/m4/libtool.m4 libtool-CVS/m4/libtool.m4
--- libtool-CVS~/m4/libtool.m4  2003-10-30 14:28:00.000000000 +0000
+++ libtool-CVS/m4/libtool.m4   2003-10-31 13:01:55.000000000 +0000
@@ -1476,6 +1476,7 @@ linux*)
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=no
+  sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib"
   # This implies no fast_install, which is unacceptable.
   # Some rework will be needed to allow for fast_install
   # before this can be enabled.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]