1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-16 13:44:06 +02:00
openwrt-xburst/package/libtool/patches/120-libdir_search.patch
hauke d75c935a76 libtool: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 15:32:34 +00:00

20 lines
585 B
Diff

--- a/ltmain.in
+++ b/ltmain.in
@@ -2444,8 +2444,14 @@ EOF
absdir="$abs_ladir"
libdir="$abs_ladir"
else
- dir="$libdir"
- absdir="$libdir"
+ # Adding 'libdir' from the .la file to our library search paths
+ # breaks crosscompilation horribly. We cheat here and don't add
+ # it, instead adding the path where we found the .la. -CL
+ dir="$abs_ladir"
+ absdir="$abs_ladir"
+ libdir="$abs_ladir"
+ #dir="$libdir"
+ #absdir="$libdir"
fi
test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
else