blob: c91f0de04777767288de8525c76799bc445b744d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#
# Made by http://www.mn-logistik.de/unsupported/pxa250/patcher
#
--- libtool-1.4.3/ltmain.sh~libdir
+++ libtool-1.4.3/ltmain.sh
@@ -2030,16 +2030,18 @@
esac
if grep "^installed=no" $deplib > /dev/null; then
path="-L$absdir/$objdir"
- else
- eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
- if test -z "$libdir"; then
- $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
- exit 1
- fi
- if test "$absdir" != "$libdir"; then
- $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
- fi
- path="-L$absdir"
+### Disabling this block to prevent picking up the libdir from .la files,
+### since it breaks crosscompilation badly.
+# else
+# eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+# if test -z "$libdir"; then
+# $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
+# exit 1
+# fi
+# if test "$absdir" != "$libdir"; then
+# $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
+# fi
+# path="-L$absdir"
fi
;;
*) continue ;;
|