diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-10-29 19:04:32 +0300 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2021-11-25 21:10:18 +0530 |
commit | 958d6e387ea1f1d574d2d97afe6e58f3a926593f (patch) | |
tree | cdfc7e5d10ffd8a7c04e9e7b89c8e4a7365cb946 | |
parent | 4859d7039b05d31216ddeda3fbc528991bc95cac (diff) | |
download | meson-958d6e387ea1f1d574d2d97afe6e58f3a926593f.zip meson-958d6e387ea1f1d574d2d97afe6e58f3a926593f.tar.gz meson-958d6e387ea1f1d574d2d97afe6e58f3a926593f.tar.bz2 |
Fix version requirement on Ninja feature.
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 3e549e1..eeccfde 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -581,7 +581,7 @@ class NinjaBackend(backends.Backend): os.replace(tempfilename, outfilename) mlog.cmd_ci_include(outfilename) # For CI debugging # Refresh Ninja's caches. https://github.com/ninja-build/ninja/pull/1685 - if mesonlib.version_compare(self.ninja_version, '>=1.10.2') and os.path.exists('.ninja_deps'): + if mesonlib.version_compare(self.ninja_version, '>=1.10.0') and os.path.exists('.ninja_deps'): subprocess.call(self.ninja_command + ['-t', 'restat']) subprocess.call(self.ninja_command + ['-t', 'cleandead']) self.generate_compdb() |