summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2006-04-09 14:09:57 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-09 14:09:57 +0000
commitf3e5826c5a2ce74f5677dcc385364a762f50ab68 (patch)
tree400d10ca9b6ad1e2d372e4cd56a6778f07c673c3
parent37f0c99abc6c323b3f4d778580774e4c320b709d (diff)
OS X: core and native.bbclass:
-We do not have rpath on Darwin, do not use it for the native builds
-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}"