summaryrefslogtreecommitdiff
path: root/classes/cross.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/cross.bbclass')
-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" \
+'