aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mconf.py
diff options
context:
space:
mode:
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 b62c8b3..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.clear()
+ self.coredata.deps.host.clear()
+ self.coredata.deps.build.clear()
def set_options(self, options):
self.coredata.set_options(options)