[oe-commits] [meta-openembedded] 30/53: meson: export PKG_CONFIG to use pkg-config-native for native builds

git at git.openembedded.org git at git.openembedded.org
Sat Jul 1 08:00:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit 6e2d975fc16f4228a2d952bde1a874f337281ada
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