]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: add HAVE_LIBPTHREAD
authorKarel Zak <kzak@redhat.com>
Mon, 27 Jan 2025 13:11:35 +0000 (14:11 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 27 Jan 2025 13:11:35 +0000 (14:11 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
meson.build

index 316c265b478af54805418b87ddc4cdc96f529d29..5d4091054ce9f95046c5661c728b5db83c1c3eb4 100644 (file)
@@ -779,6 +779,7 @@ endif
 conf.set('HAVE_CLOCK_GETTIME', have ? 1 : false)
 
 thread_libs = dependency('threads')
+conf.set('HAVE_LIBPTHREAD', thread_libs.found() ? 1 : false)
 
 have = cc.has_function('timer_create')
 if not have