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'
This commit is contained in:
Jan Alexander Steffens (heftig) 2020-08-09 03:28:52 +02:00
parent 628f068788
commit af5ae60b33
No known key found for this signature in database
GPG key ID: 3B94A80E50A477C7

View file

@ -163,7 +163,7 @@ endif
if cc.has_function('pthread_setaffinity_np', dependencies : thread_dep) if cc.has_function('pthread_setaffinity_np', dependencies : thread_dep)
norun_tests += [ norun_tests += [
[ 'atomic-test', 'atomic-test.c', [ 'atomic-test', 'atomic-test.c',
[ check_dep, libpulsecommon_dep ] ] [ check_dep, libpulsecommon_dep, thread_dep ] ]
] ]
endif endif