All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] meta-environment: Set libdir correctly to fix PKGCONFIG entries
@ 2014-10-01  8:06 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-10-01  8:06 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

diff --git a/meta/recipes-core/meta/meta-environment.bb b/meta/recipes-core/meta/meta-environment.bb
index bd90f9f..cf1a83f 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() {
 
     # make sure we only use the SDKTARGETSYSROOT value from 'd'
     localdata.setVar('SDKTARGETSYSROOT', d.getVar('SDKTARGETSYSROOT', True))
+    localdata.setVar('libdir', d.getVar('target_libdir', False))
 
     # Process DEFAULTTUNE
     bb.build.exec_func("create_sdk_files", localdata)




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-01  8:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-01  8:06 [PATCH] meta-environment: Set libdir correctly to fix PKGCONFIG entries Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.