2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 02:29:34 +00:00

build: improve liburing support detection

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner
2021-10-30 17:45:50 +02:00
parent e29412c07f
commit 752b64325e

View File

@@ -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 <liburing.h>', dependencies: liburing)
conf.set10('HAVE_LIBURING', have)
endif
sh = find_program('sh')