* [PATCH] nativesdk: Set PKG_CONFIG_SYSTEM_ variables
@ 2016-02-05 10:51 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-02-05 10:51 UTC (permalink / raw)
To: openembedded-core
When building nativesdk recipes, we noticed paths going into .pc files
which should have been suppressed since these were standard library
search paths. pkgconfig-native sets these variables to sane values
for native recipes, we need it set to values for our specific library
paths in the nativesdk case.
Setting these values cleans up the .pc files and suppresses the paths.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass
index f74da62..44154d9 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -60,6 +60,8 @@ sbindir = "${bindir}"
export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}${libdir}/pkgconfig"
export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"
+export PKG_CONFIG_SYSTEM_LIBRARY_PATH = "${base_libdir}:${libdir}"
+export PKG_CONFIG_SYSTEM_INCLUDE_PATH = "${includedir}"
python nativesdk_virtclass_handler () {
pn = e.data.getVar("PN", True)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-05 10:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-05 10:51 [PATCH] nativesdk: Set PKG_CONFIG_SYSTEM_ variables Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox