waflib: subproject: restore environment in build context

This commit is contained in:
Alibek Omarov 2019-04-11 01:32:19 +03:00
parent 968994bba5
commit eb650b71ad
1 changed files with 3 additions and 1 deletions

View File

@ -123,5 +123,7 @@ def add_subproject(ctx, names):
for name in names_lst:
if name in IGNORED_SUBDIRS:
return
saveenv = ctx.env
ctx.env = ctx.all_envs[name]
ctx.recurse(name)
ctx.recurse(name)
ctx.env = saveenv