From e1bd6f76c29be452cd6f92a9236657db33de79ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Sun, 3 May 2026 12:42:39 +0300 Subject: [PATCH] checkasm: Readd a dependency on threads 3a2a874994809a51bc4f9ec5bac51bd6af69767e, which switched to using the checkasm core from the separate checkasm project, removed the thread dependency from the checkasm executable, as the checkasm library itself has a thread dependency. However, checkasm doesn't always include that thread dependency, it only does that when pthread_setaffinity_np is detected. The dav1d object files themselves use pthreads as well, causing undefined symbols if checkasm doesn't link in pthreads. This should fix linking on OpenBSD after 3a2a874994809a51bc4f9ec5bac51bd6af69767e, fixing issue #467. --- tests/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/meson.build b/tests/meson.build index d6f6c4e8..40c6af8b 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -84,6 +84,7 @@ if is_asm_enabled and checkasm_dependency.found() include_directories: dav1d_inc_dirs, build_by_default: false, dependencies: [ + thread_dependency, libm_dependency, checkasm_dependency, ],