Skip to content

Commit 8fdd064

Browse files
authored
test_feature_extractor: add thread_lib dependency (#1363)
msys2's clang64 environment errors out due to undefined symbols with pthread. The non-clang environments are fine as gcc implicitly links pthread. mesonbuild/meson#13124 (comment) Signed-off-by: Christopher Degawa <[email protected]>
1 parent 262db8d commit 8fdd064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libvmaf/test/meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ test_feature_extractor = executable('test_feature_extractor',
5959
['test.c', 'test_feature_extractor.c', '../src/mem.c', '../src/picture.c', '../src/ref.c',
6060
'../src/dict.c', '../src/opt.c', '../src/log.c'],
6161
include_directories : [libvmaf_inc, test_inc, include_directories('../src/')],
62-
dependencies : [math_lib, stdatomic_dependency, cuda_dependency],
62+
dependencies : [math_lib, stdatomic_dependency, thread_lib, cuda_dependency],
6363
objects : [
6464
common_cuda_objects,
6565
platform_specific_cpu_objects,

0 commit comments

Comments
 (0)