summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-01 09:06:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-02 00:42:43 +0100
commit5c16dcff96b9be16c875d5e084d544a2698d1342 (patch)
tree8d968a2bfe15b20bfc15efbb66a09fdc5b378b4b
parentef44f397e3d04a8417da11d5d1c71880e12d3bf8 (diff)
downloadpoky-5c16dcff96b9be16c875d5e084d544a2698d1342.tar.gz
meta-environment: Set libdir correctly to fix PKGCONFIG entries
Currently libdir is coming from cross-canadian which is incorrect. We need to reset this to target_libdir so that the toolchains contain the correct value. (From OE-Core rev: 41f8f32c8da705ead464ee69bc5a1e120b137693) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/meta/meta-environment.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/meta-environment.bb b/meta/recipes-core/meta/meta-environment.bb
index bd90f9fd7c..cf1a83f8f8 100644
--- a/meta/recipes-core/meta/meta-environment.bb
+++ b/meta/recipes-core/meta/meta-environment.bb
@@ -29,6 +29,7 @@ python do_generate_content() {
29 29
30 # make sure we only use the SDKTARGETSYSROOT value from 'd' 30 # make sure we only use the SDKTARGETSYSROOT value from 'd'
31 localdata.setVar('SDKTARGETSYSROOT', d.getVar('SDKTARGETSYSROOT', True)) 31 localdata.setVar('SDKTARGETSYSROOT', d.getVar('SDKTARGETSYSROOT', True))
32 localdata.setVar('libdir', d.getVar('target_libdir', False))
32 33
33 # Process DEFAULTTUNE 34 # Process DEFAULTTUNE
34 bb.build.exec_func("create_sdk_files", localdata) 35 bb.build.exec_func("create_sdk_files", localdata)