Commit fda95b5b authored by Martin Banky's avatar Martin Banky Committed by Thomas Petazzoni
Browse files

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: default avatarMartin Banky <Martin.Banky@gmail.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 2b721e9c
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
@@ -38,23 +38,6 @@
 	  fi
 	  # 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\
 	    # Replace all uninstalled libtool libraries with the installed ones
 	    newdependency_libs=