summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 83e50dbb177..ca62d1925cd 100644
--- a/SConstruct
+++ b/SConstruct
@@ -757,7 +757,7 @@ env_vars.Add('CXXFLAGS',
converter=variable_shlex_converter)
default_destdir = '$BUILD_ROOT/install'
-if get_option('ninja') and get_option('build-tools') == 'next':
+if get_option('ninja') != 'disabled' and get_option('build-tools') == 'next':
# Workaround for SERVER-53952 where issues wih different
# ninja files building to the same install dir. Different
# ninja files need to build to different install dirs.