From: Christian Brauner Date: Sat, 30 Oct 2021 15:45:50 +0000 (+0200) Subject: build: improve liburing support detection X-Git-Tag: lxc-4.0.12~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78baec37d69969d4b4275239040c6ee5719cab9e;p=thirdparty%2Flxc.git build: improve liburing support detection Signed-off-by: Christian Brauner --- 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')