2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00

propagate the env defined in self.env.env instead of re-creating one from scratch

This commit is contained in:
Thomas Nagy 2012-02-17 20:18:02 +01:00
parent 86836488cc
commit 8f4f2583f0

View File

@ -900,7 +900,7 @@ def exec_command_msvc(self, *k, **kw):
k = [lst]
if self.env['PATH']:
env = dict(os.environ)
env = self.env.env or dict(os.environ)
env.update(PATH = ';'.join(self.env['PATH']))
kw['env'] = env