waflib: subproject: restore environment in build context
This commit is contained in:
parent
968994bba5
commit
eb650b71ad
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue