summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2020-08-09 03:28:52 +0200
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2020-08-09 03:29:23 +0200
commitaf5ae60b333d743cff941620c51e3cb2a9aee64a (patch)
treeea5ac9b42b9da9a36374add988f3db93d5b6c59b
parent628f068788094053c2a760f6a2211297b19d4f48 (diff)
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'
-rw-r--r--src/tests/meson.build2
1 files changed, 1 insertions, 1 deletions
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