Skip to content

Commit

Permalink
Fix compilation with ./configure --disable-builtinglslang - was
Browse files Browse the repository at this point in the history
missing linking against -lMachineIndependent and -lGenericCodeGen
static libs
  • Loading branch information
LibretroAdmin committed Sep 3, 2022
1 parent bea2eb7 commit 5d36d80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down
2 changes: 2 additions & 0 deletions qb/config.libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d36d80

Please sign in to comment.