aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-10-29 19:04:32 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2021-10-29 22:48:35 +0300
commitff38803d58a0a0ad8fc8215bbae302b3ab641bf0 (patch)
tree1adffea5cace1b7255400ae817646fc2fcfaf152 /mesonbuild/backend
parentc1b686e39568784a9db572dd3b6a4e4e254daaa7 (diff)
downloadmeson-ff38803d58a0a0ad8fc8215bbae302b3ab641bf0.zip
meson-ff38803d58a0a0ad8fc8215bbae302b3ab641bf0.tar.gz
meson-ff38803d58a0a0ad8fc8215bbae302b3ab641bf0.tar.bz2
Fix version requirement on Ninja feature.
Diffstat (limited to 'mesonbuild/backend')
-rw-r--r--mesonbuild/backend/ninjabackend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index 9679034..9bc7f55 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -575,7 +575,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()