aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mconf.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-05-20 22:50:12 +0300
committerGitHub <noreply@github.com>2019-05-20 22:50:12 +0300
commitef024583df79d30c0011914603a3212fd139ca3a (patch)
treec4cc86b679c31f75b6ffdc2d1cb53a880539c9d2 /mesonbuild/mconf.py
parentfb35e6faac2a5efbb8fd0ff6ee5627b144adb184 (diff)
parent146e97e974fe02f93e3fb20d2a1cb850255f69fc (diff)
downloadmeson-ef024583df79d30c0011914603a3212fd139ca3a.zip
meson-ef024583df79d30c0011914603a3212fd139ca3a.tar.gz
meson-ef024583df79d30c0011914603a3212fd139ca3a.tar.bz2
Merge pull request #5276 from dcbaker/pkg-config-path-invalidate-cache
coredata: add pkg_config_path to depedency cache key
Diffstat (limited to 'mesonbuild/mconf.py')
-rw-r--r--mesonbuild/mconf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py
index 3b50d55..6e0d2d0 100644
--- a/mesonbuild/mconf.py
+++ b/mesonbuild/mconf.py
@@ -63,7 +63,8 @@ class Conf:
raise ConfException('Directory {} is neither a Meson build directory nor a project source directory.'.format(build_dir))
def clear_cache(self):
- self.coredata.deps = {}
+ self.coredata.deps.host.clear()
+ self.coredata.deps.build.clear()
def set_options(self, options):
self.coredata.set_options(options)