aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmx.de>2011-02-19 19:53:39 +0000
committerTom Rini <tom_rini@mentor.com>2011-02-23 12:16:45 -0700
commitcf1849501bce54f0eef31f41abcfdff69a3dcff9 (patch)
tree543bf577a84a6ea594b78ba75e57f2c1fa156896 /classes
parent8e91c85042e28f720a051ce22d0535aeba5ea830 (diff)
downloadopenembedded-cf1849501bce54f0eef31f41abcfdff69a3dcff9.tar.gz
cross.bbclass: Fix many QA RPATH errors for distros preferring libtool-2.2
* This patch removes the absolute path in sysroots/<arch>/usr/lib/libstdc++.la * * It was build tested wih clean tmp for xfce46-image. Additional known * QA-RPATH-error-candidates were checked for successful build: * * aspell-0.60.6-r0 * curl-7.21.2-r4.0 * clutter-box2d-0.10.0-r2.0+git4e72b9c135a9439b82d801c62422531db611f98b * enchant-1.6.0-r2 * gnome-vfs-2.24.1-r3 * libcdio-0.82-r3.0 * libsoup-2.2.100-r1: * neon-0.25.5-r4 * schroedinger-1.0.9-r0 * tiff-3.9.4+4.0.0beta6-r0 * * Build environment was (RPATH QA errors treated as fatal / acl fixed manually) * * BB_VERSION = "1.10.2" * METADATA_BRANCH = "cross-bbclass-test" * METADATA_REVISION = "a44300e" * TARGET_ARCH = "arm" * TARGET_OS = "linux-gnueabi" * MACHINE = "overo" * DISTRO = "angstrom" * DISTRO_VERSION = "2010.7-test-20110219" * TARGET_FPU = "hard" * * Notes: * - To have effect, gcc-cross has to be rebuild (changing all gcc packed * was not an option) * - This patch does not affect libtool-2.4 distos * - The story is found at * http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-February/030115.html Signed-off-by: Andreas Mueller <schnitzeltony@gmx.de> Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/cross.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/cross.bbclass b/classes/cross.bbclass
index 1a6d906780..50c0f63102 100644
--- a/classes/cross.bbclass
+++ b/classes/cross.bbclass
@@ -75,6 +75,6 @@ sysroot_stage_all() {
#
# Cross .la files have more path issues we have to correct only for libtool < 2.4
-SYSROOTEXTRALIBDIRSED_OLD = " -e \"/^libdir=/s,.*,libdir=${STAGING_DIR_TARGET}${target_libdir},g\" -e \"/^dependency_libs=/s,\([[:space:]']\)-L${STAGING_LIBDIR_NATIVE},,g\""
+SYSROOTEXTRALIBDIRSED_OLD = " -e \"/^libdir=/s,.*,libdir=${target_libdir},g\" -e \"/^dependency_libs=/s,\([[:space:]']\)-L${STAGING_LIBDIR_NATIVE},,g\""
SYSROOTEXTRALIBDIRSED = "${@["${SYSROOTEXTRALIBDIRSED_OLD}",""][("${LIBTOOL_HAS_SYSROOT}" == "yes")]}"