summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/cross.bbclass1
-rw-r--r--classes/native.bbclass1
2 files changed, 2 insertions, 0 deletions
diff --git a/classes/cross.bbclass b/classes/cross.bbclass
index 5d670ccadc..09357acbe8 100644
--- a/classes/cross.bbclass
+++ b/classes/cross.bbclass
@@ -14,6 +14,7 @@ CPPFLAGS = "${BUILD_CPPFLAGS}"
CFLAGS = "${BUILD_CFLAGS}"
CXXFLAGS = "${BUILD_CFLAGS}"
LDFLAGS = "${BUILD_LDFLAGS}"
+LDFLAGS_build-darwin = "-L${STAGING_DIR}/${BUILD_SYS}/lib "
# Overrides for paths
diff --git a/classes/native.bbclass b/classes/native.bbclass
index fea8048fe5..011e48cf62 100644
--- a/classes/native.bbclass
+++ b/classes/native.bbclass
@@ -34,6 +34,7 @@ CPPFLAGS = "${BUILD_CPPFLAGS}"
CFLAGS = "${BUILD_CFLAGS}"
CXXFLAGS = "${BUILD_CFLAGS}"
LDFLAGS = "${BUILD_LDFLAGS}"
+LDFLAGS_build-darwin = "-L${STAGING_DIR}/${BUILD_SYS}/lib "
# Path prefixes
base_prefix = "${exec_prefix}"