mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-06 14:59:59 +01:00
configure: fix glslang linking on platforms without pthreads
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -7136,10 +7136,10 @@ if enabled libglslang; then
|
|||||||
require_headers "glslang/build_info.h" && { test_cpp_condition glslang/build_info.h "GLSLANG_VERSION_MAJOR >= 16" && spvremap="" ; }
|
require_headers "glslang/build_info.h" && { test_cpp_condition glslang/build_info.h "GLSLANG_VERSION_MAJOR >= 16" && spvremap="" ; }
|
||||||
check_lib spirv_compiler glslang/Include/glslang_c_interface.h glslang_initialize_process \
|
check_lib spirv_compiler glslang/Include/glslang_c_interface.h glslang_initialize_process \
|
||||||
-lglslang -lMachineIndependent -lGenericCodeGen \
|
-lglslang -lMachineIndependent -lGenericCodeGen \
|
||||||
${spvremap} -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++ -lm ||
|
${spvremap} -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lstdc++ $libm_extralibs $pthreads_extralibs ||
|
||||||
require spirv_compiler glslang/Include/glslang_c_interface.h glslang_initialize_process \
|
require spirv_compiler glslang/Include/glslang_c_interface.h glslang_initialize_process \
|
||||||
-lglslang -lMachineIndependent -lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen \
|
-lglslang -lMachineIndependent -lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen \
|
||||||
${spvremap} -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++ -lm ;
|
${spvremap} -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lstdc++ $libm_extralibs $pthreads_extralibs ;
|
||||||
fi
|
fi
|
||||||
enabled libgme && { check_pkg_config libgme libgme gme/gme.h gme_new_emu ||
|
enabled libgme && { check_pkg_config libgme libgme gme/gme.h gme_new_emu ||
|
||||||
require libgme gme/gme.h gme_new_emu -lgme -lstdc++; }
|
require libgme gme/gme.h gme_new_emu -lgme -lstdc++; }
|
||||||
|
|||||||
Reference in New Issue
Block a user