diff options
-rw-r--r-- | src/thread/meson.build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/thread/meson.build b/src/thread/meson.build index f7d28ec04..241a3ed4e 100644 --- a/src/thread/meson.build +++ b/src/thread/meson.build @@ -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, ], ) |