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