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:
@@ -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')
|
||||
|
Reference in New Issue
Block a user