From af5ae60b333d743cff941620c51e3cb2a9aee64a Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Sun, 9 Aug 2020 03:28:52 +0200 Subject: [PATCH] meson: Add missing thread_dep to atomic-test Otherwise it won't link. /usr/bin/ld: /tmp/atomic-test.uzrv5D.ltrans0.ltrans.o: undefined reference to symbol 'pthread_setaffinity_np@@GLIBC_2.3.4' --- src/tests/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/meson.build b/src/tests/meson.build index f0500467f..5caf3abe6 100644 --- a/src/tests/meson.build +++ b/src/tests/meson.build @@ -163,7 +163,7 @@ endif if cc.has_function('pthread_setaffinity_np', dependencies : thread_dep) norun_tests += [ [ 'atomic-test', 'atomic-test.c', - [ check_dep, libpulsecommon_dep ] ] + [ check_dep, libpulsecommon_dep, thread_dep ] ] ] endif -- 2.34.1