diff options
Diffstat (limited to 'site_scons')
-rw-r--r-- | site_scons/site_tools/ninja_next.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/site_scons/site_tools/ninja_next.py b/site_scons/site_tools/ninja_next.py index fe437b8738f..9f38562e8ed 100644 --- a/site_scons/site_tools/ninja_next.py +++ b/site_scons/site_tools/ninja_next.py @@ -1374,7 +1374,8 @@ def generate(env): # the DAG which is required so that we walk every target, and therefore add # it to the global NINJA_STATE, before we try to write the ninja file. def ninja_file_depends_on_all(target, source, env): - env.Depends(ninja_file, target) + if not any("conftest" in str(t) for t in target): + env.Depends(ninja_file, target) return target, source # The "Alias Builder" isn't in the BUILDERS map so we have to |