From: Karel Zak Date: Mon, 27 Jan 2025 13:11:35 +0000 (+0100) Subject: meson: add HAVE_LIBPTHREAD X-Git-Tag: v2.42-start~69^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=49e57bee467685b8cf044a6cae811a4f258eaadd;p=thirdparty%2Futil-linux.git meson: add HAVE_LIBPTHREAD Signed-off-by: Karel Zak --- diff --git a/meson.build b/meson.build index 316c265b4..5d4091054 100644 --- a/meson.build +++ b/meson.build @@ -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