summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2010-08-12 03:06:22 (GMT)
committerGary Oberbrunner <garyo@oberbrunner.com>2010-08-12 03:06:22 (GMT)
commit1ef3efb9b491fc87bccce16721564f79a377bce3 (patch)
tree6fecfc54f2d46090cd7a959f8a3366dba99e8a2c /src/engine
parent3dbb30e02538ae489ba1fe65d2771f773906107d (diff)
downloadSCons-1ef3efb9b491fc87bccce16721564f79a377bce3.zip
SCons-1ef3efb9b491fc87bccce16721564f79a377bce3.tar.gz
SCons-1ef3efb9b491fc87bccce16721564f79a377bce3.tar.bz2
Fix issue with implicit-cache when files are removed on disk. Fixes issue #1938.
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/SCons/Node/__init__.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/engine/SCons/Node/__init__.py b/src/engine/SCons/Node/__init__.py
index 0bf490f..2fbe2c6 100644
--- a/src/engine/SCons/Node/__init__.py
+++ b/src/engine/SCons/Node/__init__.py
@@ -628,9 +628,10 @@ class Node(object):
if implicit_deps_unchanged or self.is_up_to_date():
return
# one of this node's sources has changed,
- # so we must recalculate the implicit deps:
- self.implicit = []
- self.implicit_set = set()
+ # so we must recalculate the implicit deps for all targets
+ for tgt in executor.get_all_targets():
+ tgt.implicit = []
+ tgt.implicit_set = set()
# Have the executor scan the sources.
executor.scan_sources(self.builder.source_scanner)