aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild')
-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