Fix compilation with builtin_glslang=false Ref https://github.com/godotengine/godot/pull/93478 Ref https://github.com/godotengine/godot/pull/93471 --- a/modules/glslang/register_types.cpp +++ b/modules/glslang/register_types.cpp @@ -33,7 +33,6 @@ #include "core/config/engine.h" #include "servers/rendering/rendering_device.h" -#include #include #include #include --- 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"])