BugFix - buildroot-libtool.patch - Removed Useless Code
authorMartin Banky <martin.banky@gmail.com>
Sat, 9 Oct 2010 10:52:48 +0000 (12:52 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 14 Oct 2010 11:27:03 +0000 (07:27 -0400)
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>
package/buildroot-libtool.patch

index 277719d938f1530e768a78e1a2c8def3e0c9b6e6..57a7c58e3bf28716305f9f7ba6663d350072582e 100644 (file)
          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=