From fd4ebf2ef4ba5bc04e64ca6653c5638abd3a8056 Mon Sep 17 00:00:00 2001 From: Christopher Degawa Date: Tue, 23 Apr 2024 15:52:40 -0500 Subject: [PATCH] test_feature_extractor: add thread_lib dependency msys2's clang64 environment errors out due to undefined symbols with pthread. The non-clang environments are fine as gcc implicitly links pthread. https://github.com/mesonbuild/meson/pull/13124#issuecomment-2071651121 Signed-off-by: Christopher Degawa --- libvmaf/test/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvmaf/test/meson.build b/libvmaf/test/meson.build index 8ae58e512..725fdfea8 100644 --- a/libvmaf/test/meson.build +++ b/libvmaf/test/meson.build @@ -59,7 +59,7 @@ test_feature_extractor = executable('test_feature_extractor', ['test.c', 'test_feature_extractor.c', '../src/mem.c', '../src/picture.c', '../src/ref.c', '../src/dict.c', '../src/opt.c', '../src/log.c'], include_directories : [libvmaf_inc, test_inc, include_directories('../src/')], - dependencies : [math_lib, stdatomic_dependency, cuda_dependency], + dependencies : [math_lib, stdatomic_dependency, thread_lib, cuda_dependency], objects : [ common_cuda_objects, platform_specific_cpu_objects,