mirror of
git://github.com/lxc/lxc
synced 2025-09-02 13:49:36 +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
|
if wants_io_uring == true
|
||||||
liburing = dependency('liburing')
|
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
|
endif
|
||||||
|
|
||||||
sh = find_program('sh')
|
sh = find_program('sh')
|
||||||
|
Reference in New Issue
Block a user