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 c5201bf556
commit a89d31e325

View File

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