diff --git a/Makefile.common b/Makefile.common index 1e095f59e0..bc377dca9a 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1883,6 +1883,8 @@ else ifeq ($(HAVE_GLSLANG),1) # The order of these libs are somewhat specific LIBS += $(GLSLANG_LIBS) \ + $(GLSLANG_MACHINEINDEPENDENT_LIBS) \ + $(GLSLANG_GENERICCODEGEN_LIBS) \ $(GLSLANG_OSDEPENDENT_LIBS) \ $(GLSLANG_OGLCOMPILER_LIBS) \ $(GLSLANG_HLSL_LIBS) \ diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 19cd2a66e2..2227cd30a4 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -630,6 +630,8 @@ if [ "$HAVE_GLSLANG" != no ]; then check_lib cxx GLSLANG -lglslang '' '-lSPIRV' check_lib cxx GLSLANG_OSDEPENDENT -lOSDependent check_lib cxx GLSLANG_OGLCOMPILER -lOGLCompiler + check_lib cxx GLSLANG_MACHINEINDEPENDENT -lMachineIndependent + check_lib cxx GLSLANG_GENERICCODEGEN -lGenericCodeGen check_lib cxx GLSLANG_HLSL -lHLSL '' '-lglslang -lSPIRV' check_lib cxx GLSLANG_SPIRV -lSPIRV check_lib cxx GLSLANG_SPIRV_TOOLS_OPT -lSPIRV-Tools-opt