Call Export appropriately instead of using locals()
This commit is contained in:
parent
00c081cb4b
commit
2b965290f6
1 changed files with 1 additions and 2 deletions
|
@ -155,8 +155,7 @@ def WesnothProgram(env, target, source, can_build, **kw):
|
|||
else:
|
||||
bin = env.Alias(target, [], error_action)
|
||||
AlwaysBuild(bin)
|
||||
locals()[target] = bin
|
||||
Export(target)
|
||||
Export({target: bin})
|
||||
return bin
|
||||
|
||||
for env in [test_env, client_env, env]:
|
||||
|
|
Loading…
Add table
Reference in a new issue