summaryrefslogtreecommitdiff
path: root/util/libtool.m4.diff
diff options
context:
space:
mode:
Diffstat (limited to 'util/libtool.m4.diff')
-rw-r--r--util/libtool.m4.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/libtool.m4.diff b/util/libtool.m4.diff
new file mode 100644
index 000000000..ac837e4fc
--- /dev/null
+++ b/util/libtool.m4.diff
@@ -0,0 +1,11 @@
+--- m4/libtool.m4 2005-07-29 13:31:15.000000000 +0000
++++ m4/libtool.m4_ 2008-03-28 15:05:28.000000000 +0000
+@@ -1267,7 +1267,7 @@
+ shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
+ # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
+ if test "$GCC" = yes; then
+- sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++ sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g"`
+ else
+ sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
+ fi