Commit 2e450bbf authored by Max Kellermann's avatar Max Kellermann

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

This compile-time check got lost during the Meson transition.
parent 303b3071
threads_dep = dependency('threads')
conf.set('HAVE_PTHREAD_SETNAME_NP', compiler.has_function('pthread_setname_np', dependencies: threads_dep))
thread = static_library( thread = static_library(
'thread', 'thread',
'Util.cxx', 'Util.cxx',
'Thread.cxx', 'Thread.cxx',
include_directories: inc, include_directories: inc,
dependencies: [ dependencies: [
dependency('threads') threads_dep,
], ],
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment