directories found in /etc/ld.so.conf in sys_lib_dlsearch_path_spec.
+2004-01-23 Scott James Remnant <scott@netsplit.com>
+
+ * m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: Include
+ directories found in /etc/ld.so.conf in sys_lib_dlsearch_path_spec.
+
2004-01-23 Scott James Remnant <scott@netsplit.com>
* ltmain.in: Add -pthread and similar to $deplibs ($compile_deplibs
# before this can be enabled.
hardcode_into_libs=yes
+ # Append ld.so.conf contents to the search path
+ if test -f /etc/ld.so.conf; then
+ ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf`
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
+ fi
+
# We used to test for /lib/ld.so.1 and disable shared libraries on
# powerpc, because MkLinux only supported shared libraries with the
# GNU dynamic linker. Since this was broken with cross compilers,