aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-06-26 16:11:14 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-07-01 09:59:26 +0200
commit6e2d975fc16f4228a2d952bde1a874f337281ada (patch)
tree5409147051bbb2af8465d3bbc00f92e809efb7ea /meta-oe/classes
parent3710b9da7facfc52940bb342d8e10697d114feed (diff)
downloadmeta-openembedded-6e2d975fc16f4228a2d952bde1a874f337281ada.tar.gz
meta-openembedded-6e2d975fc16f4228a2d952bde1a874f337281ada.tar.bz2
meta-openembedded-6e2d975fc16f4228a2d952bde1a874f337281ada.zip
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@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r--meta-oe/classes/meson.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/classes/meson.bbclass b/meta-oe/classes/meson.bbclass
index 8f384c127..b5b2b3b7e 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)