BugFix - buildroot-libtool.patch - Removed Useless Code

The code that was removed only added commented out code. It neither added
needed code nor commented out existing code.

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Martin Banky 2010-10-09 12:52:48 +02:00 committed by Thomas Petazzoni
parent 2b721e9c11
commit fda95b5b10

View File

@ -38,23 +38,6 @@
fi fi
# This is a shared library # This is a shared library
@@ -2889,6 +2896,16 @@ EOF
esac
if grep "^installed=no" $deplib > /dev/null; then
path="$absdir/$objdir"
+# This interferes with crosscompilation. -CL
+# 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
else
eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
if test -z "$libdir"; then
@@ -5606,6 +5623,10 @@ fi\ @@ -5606,6 +5623,10 @@ fi\
# Replace all uninstalled libtool libraries with the installed ones # Replace all uninstalled libtool libraries with the installed ones
newdependency_libs= newdependency_libs=