Disable etc2comp and tinyexr modules on non-tools build
They are not necessary in such configuration, and require C++11 and (on Android) the STL. Fixes #9273.
This commit is contained in:
parent
198bd9db02
commit
cb59236ce9
2 changed files with 10 additions and 2 deletions
|
@ -4,4 +4,8 @@ def can_build(platform):
|
|||
|
||||
|
||||
def configure(env):
|
||||
pass
|
||||
# Tools only, disabled for non-tools
|
||||
# TODO: Find a cleaner way to achieve that
|
||||
if (env["tools"] == "no"):
|
||||
env["module_etc_enabled"] = "no"
|
||||
env.disabled_modules.append("etc")
|
||||
|
|
|
@ -4,4 +4,8 @@ def can_build(platform):
|
|||
|
||||
|
||||
def configure(env):
|
||||
pass
|
||||
# Tools only, disabled for non-tools
|
||||
# TODO: Find a cleaner way to achieve that
|
||||
if (env["tools"] == "no"):
|
||||
env["module_tinyexr_enabled"] = "no"
|
||||
env.disabled_modules.append("tinyexr")
|
||||
|
|
Loading…
Add table
Reference in a new issue