From 70dc1470118bb4afd39fe2efb031eb2a7080dac6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 17 Jan 2008 10:40:36 +0000 Subject: sdk.bbclass: Set rpath correctly for sdk binaries and use the target prefix to ensure sdk and native staging don't mix. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3501 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/conf/bitbake.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/conf') diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 75a69f6da..e392395d6 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -368,6 +368,11 @@ export TARGET_CXXFLAGS = "${TARGET_CFLAGS} -fpermissive" export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \ -Wl,-rpath-link,${STAGING_LIBDIR_NATIVE} \ -Wl,-rpath,${STAGING_LIBDIR_NATIVE} -Wl,-O1" + +BUILDSDK_LDFLAGS = "-L${STAGING_LIBDIR} \ + -Wl,-rpath-link,${STAGING_LIBDIR} \ + -Wl,-rpath,${libdir} -Wl,-O1" + export LDFLAGS = "${TARGET_LDFLAGS}" export TARGET_LDFLAGS = "-Wl,-O1" #export TARGET_LDFLAGS = "-L${STAGING_DIR_TARGET}${layout_libdir} \ -- cgit v1.2.3