diff options
| author | Karsten Hopp <karsten@fedoraproject.org> | 2009-02-18 12:20:18 +0000 |
|---|---|---|
| committer | Karsten Hopp <karsten@fedoraproject.org> | 2009-02-18 12:20:18 +0000 |
| commit | 78ba562ca31c66def4ef5f0e4efe3e68cc7fca3c (patch) | |
| tree | 302501cb8395c238881763a1f17fcbb441258fe6 /libtool-2.2.6a-rpath.patch | |
| parent | 38d6718ec1f285ebd32ccdb741fe03a8089a687f (diff) | |
| download | libtool-78ba562ca31c66def4ef5f0e4efe3e68cc7fca3c.tar.gz libtool-78ba562ca31c66def4ef5f0e4efe3e68cc7fca3c.tar.xz libtool-78ba562ca31c66def4ef5f0e4efe3e68cc7fca3c.zip | |
- remove /lib64 and /usr/lib64 rpathlibtool-2_2_6-10_fc11
Diffstat (limited to 'libtool-2.2.6a-rpath.patch')
| -rw-r--r-- | libtool-2.2.6a-rpath.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libtool-2.2.6a-rpath.patch b/libtool-2.2.6a-rpath.patch new file mode 100644 index 0000000..defa6b2 --- /dev/null +++ b/libtool-2.2.6a-rpath.patch @@ -0,0 +1,18 @@ +diff -up libtool-2.2.6/libltdl/m4/libtool.m4.rpath libtool-2.2.6/libltdl/m4/libtool.m4 +--- libtool-2.2.6/libltdl/m4/libtool.m4.rpath 2008-09-05 07:54:41.000000000 -0400 ++++ libtool-2.2.6/libltdl/m4/libtool.m4 2009-02-18 06:56:47.000000000 -0500 +@@ -2470,10 +2470,13 @@ linux* | k*bsd*-gnu) + # before this can be enabled. + hardcode_into_libs=yes + ++ # Add ABI-specific directories to the system library path. ++ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" ++ + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` +- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" ++ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on |
