mirror of https://gitlab.com/ita1024/waf.git
Merge pull request #1584 from nikoder/nikoder_fix_tool_caching
Add tooldir to cache-check on loading module in Configure context.
This commit is contained in:
commit
a12bfc9a94
|
@ -252,7 +252,7 @@ class ConfigurationContext(Context.Context):
|
|||
# avoid loading the same tool more than once with the same functions
|
||||
# used by composite projects
|
||||
|
||||
mag = (tool, id(self.env), funs)
|
||||
mag = (tool, id(self.env), tooldir, funs)
|
||||
if mag in self.tool_cache:
|
||||
self.to_log('(tool %s is already loaded, skipping)' % tool)
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue