[oe-commits] [meta-openembedded] 36/65: meson: export PKG_CONFIG to use pkg-config-native for native builds
git at git.openembedded.org
git at git.openembedded.org
Thu Jun 29 15:21:15 UTC 2017
This is an automated email from the git hooks/post-receive script.
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit 5bea652b67cd15c509beb7039404c627481ca291
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Mon Jun 26 16:11:14 2017 +0100
meson: export PKG_CONFIG to use pkg-config-native for native builds
By default Meson uses 'pkg-config' in native builds but as that is the cross
pkg-config, export PKG_CONFIG to use the correct pkg-config-native binary.
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/classes/meson.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/classes/meson.bbclass b/meta-oe/classes/meson.bbclass
index 8f384c1..b5b2b3b 100644
--- a/meta-oe/classes/meson.bbclass
+++ b/meta-oe/classes/meson.bbclass
@@ -14,6 +14,7 @@ export CC = "${BUILD_CC}"
export CXX = "${BUILD_CXX}"
export LD = "${BUILD_LD}"
export AR = "${BUILD_AR}"
+export PKG_CONFIG = "pkg-config-native"
def noprefix(var, d):
return d.getVar(var, True).replace(d.getVar('prefix', True) + '/', '', 1)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list