Fix compilation with ./configure --disable-builtinglslang - was

missing linking against -lMachineIndependent and -lGenericCodeGen
static libs
This commit is contained in:
LibretroAdmin 2022-09-03 04:04:00 +02:00
parent bea2eb719b
commit 5d36d80318
2 changed files with 4 additions and 0 deletions

View File

@ -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) \

View File

@ -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