diff options
author | Richard Purdie <richard@openedhand.com> | 2008-01-17 10:40:36 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-01-17 10:40:36 +0000 |
commit | 70dc1470118bb4afd39fe2efb031eb2a7080dac6 (patch) | |
tree | 9905c9ee1958ca74039a913565a775b332f1cb81 /meta/conf/bitbake.conf | |
parent | 551ae761ebd098ebec45253d5474e297dea0ea01 (diff) | |
download | openembedded-core-70dc1470118bb4afd39fe2efb031eb2a7080dac6.tar.gz openembedded-core-70dc1470118bb4afd39fe2efb031eb2a7080dac6.tar.bz2 openembedded-core-70dc1470118bb4afd39fe2efb031eb2a7080dac6.tar.xz openembedded-core-70dc1470118bb4afd39fe2efb031eb2a7080dac6.zip |
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
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 5 |
1 files changed, 5 insertions, 0 deletions
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} \ |