SCons: Pass env to modules can_build method

This allows to disable modules based on the environment,
in particular `env[tools]` which tells us if we are
building the editor or not.
This commit is contained in:
Rémi Verschelde
2018-05-30 19:11:33 +02:00
parent 28fa82c2de
commit 3334209a73
33 changed files with 53 additions and 61 deletions

View File

@ -1,4 +1,4 @@
def can_build(platform):
def can_build(env, platform):
return True
def configure(env):