mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 14:56:53 +02:00
15 lines
613 B
Diff
15 lines
613 B
Diff
Fix compilation with builtin_glslang=false
|
|
|
|
Ref https://github.com/godotengine/godot/pull/93478
|
|
|
|
--- a/platform/linuxbsd/detect.py
|
|
+++ b/platform/linuxbsd/detect.py
|
|
@@ -480,7 +480,7 @@ def configure(env: "SConsEnvironment"):
|
|
env.ParseConfig("pkg-config vulkan --cflags --libs")
|
|
if not env["builtin_glslang"]:
|
|
# No pkgconfig file so far, hardcode expected lib name.
|
|
- env.Append(LIBS=["glslang", "SPIRV"])
|
|
+ env.Append(LIBS=["glslang", "SPIRV", "glslang-default-resource-limits"])
|
|
|
|
if env["opengl3"]:
|
|
env.Append(CPPDEFINES=["GLES3_ENABLED"])
|