summaryrefslogtreecommitdiff
path: root/util/libtool.diff
diff options
context:
space:
mode:
Diffstat (limited to 'util/libtool.diff')
-rw-r--r--util/libtool.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/util/libtool.diff b/util/libtool.diff
new file mode 100644
index 000000000..634e5b456
--- /dev/null
+++ b/util/libtool.diff
@@ -0,0 +1,21 @@
+diff -ru libX11-1.1.3/ltmain.sh libX11-1.1.3+iPhone/ltmain.sh
+--- libX11-1.1.3/ltmain.sh 2007-07-06 08:20:15.000000000 +0000
++++ libX11-1.1.3+iPhone/ltmain.sh 2008-01-04 09:47:45.000000000 +0000
+@@ -2929,7 +2929,7 @@
+ if grep "^installed=no" $deplib > /dev/null; then
+ path="$absdir/$objdir"
+ else
+- eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
++ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $PKG_ROOT$deplib`
+ if test -z "$libdir"; then
+ $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
+ exit $EXIT_FAILURE
+@@ -5664,7 +5664,7 @@
+ case $deplib in
+ *.la)
+ name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
+- eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
++ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $PKG_ROOT$deplib`
+ if test -z "$libdir"; then
+ $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
+ exit $EXIT_FAILURE