mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
3710b9da7f
commit
6e2d975fc1
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user