diff options
author | Mathew Robinson <mathew@chasinglogic.io> | 2020-02-19 14:16:18 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-21 19:34:45 +0000 |
commit | 9791eb19d2945a7b60ca0099dc1330c260be78c3 (patch) | |
tree | adf03c487e2cb3952ff2c1ca899a2db98df032a4 /site_scons/site_tools | |
parent | 0abcb05ffcf0f6fa0ea71923f6f81b285e0378d7 (diff) | |
download | mongo-9791eb19d2945a7b60ca0099dc1330c260be78c3.tar.gz |
SERVER-46096 Add NINJA_PREFIX
Diffstat (limited to 'site_scons/site_tools')
-rw-r--r-- | site_scons/site_tools/ninja.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/site_scons/site_tools/ninja.py b/site_scons/site_tools/ninja.py index a865cc6dee3..28d7d42b80a 100644 --- a/site_scons/site_tools/ninja.py +++ b/site_scons/site_tools/ninja.py @@ -997,11 +997,7 @@ def ninja_builder(env, target, source): ninja_syntax_mod_name = os.path.basename(ninja_syntax_file) ninja_syntax = importlib.import_module(ninja_syntax_mod_name.replace(".py", "")) - suffix = env.get("NINJA_SUFFIX", "") - if suffix and not suffix[0] == ".": - suffix = "." + suffix - - generated_build_ninja = target[0].get_abspath() + suffix + generated_build_ninja = target[0].get_abspath() ninja_state = NinjaState(env, ninja_syntax.Writer) for src in source: |