From 752b64325e48ebb505011e4f737c4c38bcd714b7 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Sat, 30 Oct 2021 17:45:50 +0200 Subject: [PATCH] build: improve liburing support detection Signed-off-by: Christian Brauner --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index a4125962f..2dbe9e03f 100644 --- a/meson.build +++ b/meson.build @@ -282,7 +282,8 @@ endforeach if wants_io_uring == true liburing = dependency('liburing') - conf.set10('HAVE_LIBURING', liburing.found()) + have = cc.get_define('IORING_POLL_ADD_MULTI', prefix : '#include ', dependencies: liburing) + conf.set10('HAVE_LIBURING', have) endif sh = find_program('sh') -- 2.47.2