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:
parent
86836488cc
commit
8f4f2583f0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user