aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mconf.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-05-15 14:02:14 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-05-20 10:05:36 -0700
commit146e97e974fe02f93e3fb20d2a1cb850255f69fc (patch)
tree56e61ddd71b9ad9a6c5b04247ca806bd2647cec5 /mesonbuild/mconf.py
parent5df6823bd8abb3ea920c81259a38f55cfd5fa568 (diff)
downloadmeson-146e97e974fe02f93e3fb20d2a1cb850255f69fc.zip
meson-146e97e974fe02f93e3fb20d2a1cb850255f69fc.tar.gz
meson-146e97e974fe02f93e3fb20d2a1cb850255f69fc.tar.bz2
Use dependency cache
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)