mirror of
https://git.yoctoproject.org/poky
synced 2026-07-17 04:07:06 +00:00
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
This commit is contained in:
@@ -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} \
|
||||
|
||||
Reference in New Issue
Block a user