瀏覽代碼

Enable ASTC encoder build when building with ANGLE.

bruvzg 1 年之前
父節點
當前提交
fdeea4ac33
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      modules/astcenc/config.py

+ 3 - 1
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):