src/thread/meson.build: detect pthread_setname_np()

This compile-time check got lost during the Meson transition.
This commit is contained in:
Max Kellermann 2018-11-19 15:56:30 +01:00
parent 303b3071e4
commit 2e450bbf95

View File

@ -1,10 +1,14 @@
threads_dep = dependency('threads')
conf.set('HAVE_PTHREAD_SETNAME_NP', compiler.has_function('pthread_setname_np', dependencies: threads_dep))
thread = static_library(
'thread',
'Util.cxx',
'Thread.cxx',
include_directories: inc,
dependencies: [
dependency('threads')
threads_dep,
],
)