소스 검색

Merge pull request #94903 from bruvzg/astc_angle

Enable ASTC encoder build when building with ANGLE.
Rémi Verschelde 1 년 전
부모
커밋
fbcde49cb6
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):