24 lines
985 B
Diff
24 lines
985 B
Diff
From 4323f8cd47121df428b0394c6ba2a8da1f93a396 Mon Sep 17 00:00:00 2001
|
|
From: Sertonix <sertonix@posteo.net>
|
|
Date: Sat, 22 Jun 2024 17:14:11 +0000
|
|
Subject: [PATCH] Fix missing lib with builtin_glslang=false
|
|
|
|
The `GetDefaultResource` function is in separate library file.
|
|
---
|
|
platform/linuxbsd/detect.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
|
|
index 303a88ab2611..0e24370d8a38 100644
|
|
--- 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"])
|