summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Node/FS.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Node/FS.py')
-rw-r--r--src/engine/SCons/Node/FS.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py
index bc9e682..1af739f 100644
--- a/src/engine/SCons/Node/FS.py
+++ b/src/engine/SCons/Node/FS.py
@@ -1497,11 +1497,12 @@ class File(Base):
path = scanner.path(env, target.cwd)
target.scanner_paths[scanner] = path
+ key = str(id(env)) + '|' + str(id(scanner)) + '|' + string.join(map(str,path), ':')
try:
- includes = self.found_includes[path]
+ includes = self.found_includes[key]
except KeyError:
includes = scanner(self, env, path)
- self.found_includes[path] = includes
+ self.found_includes[key] = includes
return includes