mirror of
https://github.com/godotengine/godot.git
synced 2025-02-11 05:10:54 +00:00
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
@ -4,4 +4,8 @@ def can_build(platform):
|
|||||||
|
|
||||||
|
|
||||||
def configure(env):
|
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):
|
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…
Reference in New Issue
Block a user