From 126100b1666bfd75db37a0a9aaeee5dbfd11e53a Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 15 Apr 2019 13:04:59 -0400 Subject: [PATCH] mlog.debug the meson-set PKG_CONFIG_PATH This is very useful for debugging! --- mesonbuild/dependencies/base.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py index 21cd821a5..a191f07c9 100644 --- a/mesonbuild/dependencies/base.py +++ b/mesonbuild/dependencies/base.py @@ -669,7 +669,10 @@ class PkgConfigDependency(ExternalDependency): extra_paths = self.env.coredata.get_builtin_option('cross_pkg_config_path') else: extra_paths = self.env.coredata.get_builtin_option('pkg_config_path') - env['PKG_CONFIG_PATH'] = ':'.join([p for p in extra_paths]) + + new_pkg_config_path = ':'.join([p for p in extra_paths]) + mlog.debug('PKG_CONFIG_PATH: ' + new_pkg_config_path) + env['PKG_CONFIG_PATH'] = new_pkg_config_path fenv = frozenset(env.items()) targs = tuple(args) cache = PkgConfigDependency.pkgbin_cache