summaryrefslogtreecommitdiffstats
path: root/modules/astcenc/config.py
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2024-07-28 15:36:03 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2024-07-30 12:28:04 +0300
commitfdeea4ac3360317138ee9897ba177616f69800d3 (patch)
tree86bf58903fa4283206b6e62cffb8bd0fb88a8593 /modules/astcenc/config.py
parent0e9caa2d9cb20737f8dcf08b75fcf2a78d980569 (diff)
downloadredot-engine-fdeea4ac3360317138ee9897ba177616f69800d3.tar.gz
Enable ASTC encoder build when building with ANGLE.
Diffstat (limited to 'modules/astcenc/config.py')
-rw-r--r--modules/astcenc/config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/astcenc/config.py b/modules/astcenc/config.py
index eb565b85b9..37bb65f8ae 100644
--- a/modules/astcenc/config.py
+++ b/modules/astcenc/config.py
@@ -1,5 +1,7 @@
def can_build(env, platform):
- return env.editor_build
+ # Godot only uses it in the editor, but ANGLE depends on it and we had
+ # to remove the copy from prebuilt ANGLE libs to solve symbol clashes.
+ return env.editor_build or env.get("angle_libs")
def configure(env):