-Index: libtool-1.5.24/ltmain.in
-===================================================================
---- libtool-1.5.24.orig/ltmain.in 2007-12-28 17:45:43.203523567 +0100
-+++ libtool-1.5.24/ltmain.in 2007-12-28 17:45:58.036368842 +0100
-@@ -5669,7 +5669,7 @@
+--- a/ltmain.in
++++ b/ltmain.in
+@@ -2827,7 +2827,7 @@ EOF
+ fi
+ else
+ # We cannot seem to hardcode it, guess we'll fake it.
+- add_dir="-L$libdir"
++ add_dir="-L@GLOBAL_LIBDIR@"
+ # Try looking first in the location we're being installed to.
+ if test -n "$inst_prefix_dir"; then
+ case $libdir in
+@@ -5669,7 +5669,7 @@ fi\