aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2019-04-15 13:04:59 -0400
committerJohn Ericson <git@JohnEricson.me>2019-06-05 22:00:47 -0400
commit126100b1666bfd75db37a0a9aaeee5dbfd11e53a (patch)
tree74a08014d5823ebd4c696a3039861a2f6b2e05b7
parent5065db86f21f01d19a0b792bc8fb80389c8c2997 (diff)
downloadmeson-126100b1666bfd75db37a0a9aaeee5dbfd11e53a.zip
meson-126100b1666bfd75db37a0a9aaeee5dbfd11e53a.tar.gz
meson-126100b1666bfd75db37a0a9aaeee5dbfd11e53a.tar.bz2
mlog.debug the meson-set PKG_CONFIG_PATH
This is very useful for debugging!
-rw-r--r--mesonbuild/dependencies/base.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py
index 21cd821..a191f07 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