summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-05-17 07:30:44 +0200
committerKoen Kooi <koen@openembedded.org>2010-05-17 07:30:44 +0200
commit9ab15d363346c69c75886339b3efa246ab37d0cd (patch)
tree336662da245484a3b43f01086c14b62e2867803d
parentbe3ee7ec693d4ce344274cf86f77253df01811a8 (diff)
cross bbclass: add extra sed for gcc 4.3.x adding -L${STAGING_LIBDIR_NATIVE} to cross libstdc++.la
-rw-r--r--classes/cross.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/cross.bbclass b/classes/cross.bbclass
index 69f6511753..7473d4c927 100644
--- a/classes/cross.bbclass
+++ b/classes/cross.bbclass
@@ -77,5 +77,7 @@ sysroot_stage_all() {
#
# Cross .la files have more path issues we have to correct
-SYSROOTEXTRALIBDIRSED = '-e "/^libdir=/s,.*,libdir=${STAGING_DIR_TARGET}${target_libdir},g"'
+SYSROOTEXTRALIBDIRSED = '-e "/^libdir=/s,.*,libdir=${STAGING_DIR_TARGET}${target_libdir},g" \
+ -e "/^dependency_libs=/s,\([[:space:]']\)-L${STAGING_LIBDIR_NATIVE},,g" \
+'