Browse Source

waflib: subproject: restore environment in build context

pull/2/head
Alibek Omarov 6 years ago
parent
commit
eb650b71ad
  1. 2
      scripts/waflib/subproject.py

2
scripts/waflib/subproject.py

@ -123,5 +123,7 @@ def add_subproject(ctx, names): @@ -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.env = saveenv

Loading…
Cancel
Save