2009-02-21 15:32:34 +00:00
|
|
|
--- a/ltmain.in
|
|
|
|
+++ b/ltmain.in
|
|
|
|
@@ -2444,8 +2444,14 @@ EOF
|
2007-12-27 02:11:03 +00:00
|
|
|
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
|
2009-02-21 15:32:34 +00:00
|
|
|
test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
|
2007-12-27 02:11:03 +00:00
|
|
|
else
|