Skip to content

Commit

Permalink
Update the glslang library check again.
Browse files Browse the repository at this point in the history
It appears that the glslang library requirements have changed again,
or that the libraries are build bundled differently.  The latest
Gentoo builds no longer have/require the OSDependent library.
  • Loading branch information
linuxdude42 committed Mar 22, 2024
1 parent f0a9b1f commit 01a4f04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mythtv/configure
Original file line number Diff line number Diff line change
Expand Up @@ -6139,8 +6139,9 @@ if enabled vulkan && enabled libglslang ; then
# but vulkan support on that platform compiles fine without them.
# Test to see if these libraries are present, and if not, test
# again to see if the compile works without them.
GLSLANG_LIBS="${EXTRA_GLSLANG_LIBS:-} -lOSDependent -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread"
check_lib_cpp glslang/SPIRV/GlslangToSpv.h "glslang::TIntermediate*" -lglslang ${GLSLANG_LIBS} -lHLSL -lOGLCompiler \
GLSLANG_LIBS="${EXTRA_GLSLANG_LIBS:-} -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread"
check_lib_cpp glslang/SPIRV/GlslangToSpv.h "glslang::TIntermediate*" -lglslang ${GLSLANG_LIBS} -lHLSL -lOGLCompiler -lOSDependent \
|| check_lib_cpp glslang/SPIRV/GlslangToSpv.h "glslang::TIntermediate*" -lglslang ${GLSLANG_LIBS} -lHLSL -lOGLCompiler \
|| check_lib_cpp glslang/SPIRV/GlslangToSpv.h "glslang::TIntermediate*" -lglslang ${GLSLANG_LIBS} \
|| die "ERROR: libglslang (or dependent) library not found"
fi
Expand Down

0 comments on commit 01a4f04

Please sign in to comment.