From 6e2d975fc16f4228a2d952bde1a874f337281ada Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 26 Jun 2017 16:11:14 +0100 Subject: 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 Signed-off-by: Martin Jansa --- 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 8f384c127c..b5b2b3b7e5 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) -- cgit v1.2.3-54-g00ecf