On Sat, May 14, 2005 at 04:14:14PM -0500, Albert Chin wrote: > Moreoever, libtool.m4 has (from the 2.0 branch): > # 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)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf > | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' > ' '` > sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" > fi
BTW, how about using the SEARCH_DIR directories from: $ ld --verbose rather than hardcoding /lib and /usr/lib? -- albert chin ([EMAIL PROTECTED]) _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool