nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1From 6d43e80c0a455fea5dcb656967e73f755ecdd645 Mon Sep 17 00:00:00 2001
2From: David McFarland <corngood@gmail.com>
3Date: Sun, 9 Mar 2025 19:42:33 -0300
4Subject: [PATCH] Linux: fix missing library with builtin_glslang=false
5
6---
7 platform/linuxbsd/detect.py | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
11index b5e80f4a4d..8389096e26 100644
12--- a/platform/linuxbsd/detect.py
13+++ b/platform/linuxbsd/detect.py
14@@ -472,7 +472,7 @@ def configure(env: "SConsEnvironment"):
15 env.ParseConfig("pkg-config vulkan --cflags --libs")
16 if not env["builtin_glslang"]:
17 # No pkgconfig file so far, hardcode expected lib name.
18- env.Append(LIBS=["glslang", "SPIRV"])
19+ env.Append(LIBS=["glslang", "glslang-default-resource-limits", "SPIRV"])
20
21 if env["opengl3"]:
22 env.Append(CPPDEFINES=["GLES3_ENABLED"])
23--
242.47.1
25