diff options
Diffstat (limited to 'meta/recipes-devtools/libtool/libtool/cross_compile.patch')
-rw-r--r-- | meta/recipes-devtools/libtool/libtool/cross_compile.patch | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/meta/recipes-devtools/libtool/libtool/cross_compile.patch b/meta/recipes-devtools/libtool/libtool/cross_compile.patch index fc1f4b6fb2..28539ff039 100644 --- a/meta/recipes-devtools/libtool/libtool/cross_compile.patch +++ b/meta/recipes-devtools/libtool/libtool/cross_compile.patch | |||
@@ -4,28 +4,11 @@ Not upstreable in this form. | |||
4 | 4 | ||
5 | RP - 01/05/2008 | 5 | RP - 01/05/2008 |
6 | 6 | ||
7 | Index: libtool-2.2.10/libltdl/config/ltmain.m4sh | 7 | Index: libtool-2.4/libltdl/config/ltmain.m4sh |
8 | =================================================================== | 8 | =================================================================== |
9 | --- libtool-2.2.10.orig/libltdl/config/ltmain.m4sh | 9 | --- libtool-2.4.orig/libltdl/config/ltmain.m4sh |
10 | +++ libtool-2.2.10/libltdl/config/ltmain.m4sh | 10 | +++ libtool-2.4/libltdl/config/ltmain.m4sh |
11 | @@ -5147,8 +5147,14 @@ func_mode_link () | 11 | @@ -6121,8 +6121,6 @@ func_mode_link () |
12 | absdir="$abs_ladir" | ||
13 | libdir="$abs_ladir" | ||
14 | else | ||
15 | - dir="$libdir" | ||
16 | - absdir="$libdir" | ||
17 | + # Adding 'libdir' from the .la file to our library search paths | ||
18 | + # breaks crosscompilation horribly. We cheat here and don't add | ||
19 | + # it, instead adding the path where we found the .la. -CL | ||
20 | + dir="$abs_ladir" | ||
21 | + absdir="$abs_ladir" | ||
22 | + libdir="$abs_ladir" | ||
23 | + #dir="$libdir" | ||
24 | + #absdir="$libdir" | ||
25 | fi | ||
26 | test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes | ||
27 | else | ||
28 | @@ -5519,8 +5525,6 @@ func_mode_link () | ||
29 | add="$libdir/$linklib" | 12 | add="$libdir/$linklib" |
30 | fi | 13 | fi |
31 | else | 14 | else |
@@ -34,7 +17,7 @@ Index: libtool-2.2.10/libltdl/config/ltmain.m4sh | |||
34 | # Try looking first in the location we're being installed to. | 17 | # Try looking first in the location we're being installed to. |
35 | if test -n "$inst_prefix_dir"; then | 18 | if test -n "$inst_prefix_dir"; then |
36 | case $libdir in | 19 | case $libdir in |
37 | @@ -5667,7 +5671,17 @@ func_mode_link () | 20 | @@ -6277,7 +6275,17 @@ func_mode_link () |
38 | fi | 21 | fi |
39 | ;; | 22 | ;; |
40 | *) | 23 | *) |