From 01a4f04630a812f589b60dddcf3134fe6787688a Mon Sep 17 00:00:00 2001 From: David Hampton Date: Thu, 21 Mar 2024 20:30:57 -0400 Subject: [PATCH] Update the glslang library check again. 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. --- mythtv/configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mythtv/configure b/mythtv/configure index 4452ff06284..908d897ff9a 100755 --- a/mythtv/configure +++ b/mythtv/configure @@ -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