833a7c
diff -urN libtool-2.2.10/libltdl/m4/libtool.m4 libtool-2.2.10_new/libltdl/m4/libtool.m4
833a7c
--- libtool-2.2.10/libltdl/m4/libtool.m4	2010-05-20 23:22:02.000000000 +0200
833a7c
+++ libtool-2.2.10_new/libltdl/m4/libtool.m4	2010-06-24 11:18:06.000000000 +0200
833a7c
@@ -2474,10 +2474,14 @@
833a7c
   # before this can be enabled.
833a7c
   hardcode_into_libs=yes
833a7c
 
833a7c
+  # Add ABI-specific directories to the system library path.
833a7c
+  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
833a7c
+
833a7c
   # Append ld.so.conf contents to the search path
833a7c
   if test -f /etc/ld.so.conf; then
833a7c
     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;s/"//g;/^$/d' | tr '\n' ' '`
833a7c
-    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
833a7c
+    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
833a7c
+
833a7c
   fi
833a7c
 
833a7c
   # We used to test for /lib/ld.so.1 and disable shared libraries on