summaryrefslogtreecommitdiff
path: root/meta/classes/native.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-06 23:13:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-06 22:43:09 +0100
commitd0915fb0a2cc80ad45b3fd526d3b29a91d99572c (patch)
tree6f6f6960aa040a4eb0a71634268da5294cbfc381 /meta/classes/native.bbclass
parent5e9488495401399d39fcb5012b86c313b6caca73 (diff)
downloadopenembedded-core-d0915fb0a2cc80ad45b3fd526d3b29a91d99572c.tar.gz
openembedded-core-d0915fb0a2cc80ad45b3fd526d3b29a91d99572c.tar.bz2
openembedded-core-d0915fb0a2cc80ad45b3fd526d3b29a91d99572c.zip
native.bbclass: Ensure native recipes have a deterministic baselib value
Changes to baselib by specific machine configuration were resulting in sstate cache invalidation, particularly in multilib configurations. This patch ensures this doesn't happen and native sstate cache files are reusable. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/native.bbclass')
-rw-r--r--meta/classes/native.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 5e45aed37b..ba8b0bf25e 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -69,6 +69,8 @@ exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
libdir = "${STAGING_DIR_NATIVE}${libdir_native}"
+baselib = "lib"
+
# Libtool's default paths are correct for the native machine
lt_cv_sys_lib_dlsearch_path_spec[unexport] = "1"