libtool: Disable a section of the libdir-la patch since its doing more harm than good. This should fix sdk .la files at the expense of having to mangle files being installed into staging

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4307 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-04-22 12:50:38 +00:00
parent a06b6cb530
commit 90e7d08446
4 changed files with 7 additions and 5 deletions

View File

@@ -49,8 +49,8 @@ Index: libtool-2.2.2/libltdl/config/ltmain.m4sh
for deplib in $dependency_libs; do
+ # Replacing uninstalled with installed can easily break crosscompilation,
+ # since the installed path is generally the wrong architecture. -CL
+ newdependency_libs="$newdependency_libs $deplib"
+ continue
+ # newdependency_libs="$newdependency_libs $deplib"
+ # continue
case $deplib in
*.la)
func_basename "$deplib"

View File

@@ -1,11 +1,12 @@
require libtool.inc
require libtool_${PV}.bb
PR = "r12"
PR = "r15"
PACKAGES = ""
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
SRC_URI_append = " file://libdir-la.patch;patch=1 \
file://prefix.patch;patch=1 \
# file://sysroot.patch;patch=1 \
# file://tag.patch;patch=1 \
file://nousrlib.patch;patch=1"

View File

@@ -1,10 +1,11 @@
require libtool.inc
require libtool_${PV}.bb
PR = "r9"
PR = "r11"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
SRC_URI_append = " file://libdir-la.patch;patch=1 \
file://prefix.patch;patch=1 \
# file://sysroot.patch;patch=1 \
# file://tag.patch;patch=1 \
file://nousrlib.patch;patch=1"

View File

@@ -1,6 +1,6 @@
require libtool.inc
PR = "r5"
PR = "r6"
SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
file://uclibc.patch;patch=1 \