aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-01 21:57:43 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-01 21:58:24 +0000
commit40c6279822d4c40dd7468748a6af3a339b6f42c3 (patch)
tree841953e890596975166a93d0871aa2611cbb07a4
parente7525b5d10250b3ca7d1897e02a80a85fa62688f (diff)
downloadmeta-darwin-40c6279822d4c40dd7468748a6af3a339b6f42c3.tar.gz
meta-darwin-40c6279822d4c40dd7468748a6af3a339b6f42c3.tar.bz2
meta-darwin-40c6279822d4c40dd7468748a6af3a339b6f42c3.zip
i386-darwin: Add macosversion to LDFLAGS too
Sometimes LDFLAGS are used without CFLAGS so correctly handle this case. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--conf/machine-sdk/i386-darwin.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/machine-sdk/i386-darwin.conf b/conf/machine-sdk/i386-darwin.conf
index 313b1a3..17e0020 100644
--- a/conf/machine-sdk/i386-darwin.conf
+++ b/conf/machine-sdk/i386-darwin.conf
@@ -18,8 +18,9 @@ SDKPKGSUFFIX = "nativesdk-darwin"
BUILDSDK_CFLAGS += "-mmacosx-version-min=10.5"
-# Remove -rpath and -rpath-link
-BUILDSDK_LDFLAGS = "-L${STAGING_LIBDIR} \
+# Remove -rpath-link
+BUILDSDK_LDFLAGS = "-mmacosx-version-min=10.5 \
+ -L${STAGING_LIBDIR} \
-Wl,-rpath,${libdir} \
-L${STAGING_DIR_HOST}${base_libdir} \
-Wl,-rpath,${base_libdir}"