Skip to content

Commit

Permalink
test_feature_extractor: add thread_lib dependency (#1363)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
1480c1 authored Apr 24, 2024
1 parent 262db8d commit 8fdd064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvmaf/test/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8fdd064

Please sign in to comment.