From: Christian Brauner Date: Sat, 30 Oct 2021 15:45:50 +0000 (+0200) Subject: build: improve liburing support detection X-Git-Tag: lxc-5.0.0~56^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=752b64325e48ebb505011e4f737c4c38bcd714b7;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')