Root/package/libtool/patches/120-libdir_search.patch

1--- a/ltmain.in
2+++ b/ltmain.in
3@@ -2444,8 +2444,14 @@ EOF
4         absdir="$abs_ladir"
5         libdir="$abs_ladir"
6       else
7- dir="$libdir"
8- absdir="$libdir"
9+ # Adding 'libdir' from the .la file to our library search paths
10+ # breaks crosscompilation horribly. We cheat here and don't add
11+ # it, instead adding the path where we found the .la. -CL
12+ dir="$abs_ladir"
13+ absdir="$abs_ladir"
14+ libdir="$abs_ladir"
15+ #dir="$libdir"
16+ #absdir="$libdir"
17       fi
18       test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
19     else
20

Archive Download this file



interactive