io/uring/meson.build: detect liburing with include_type=system
This avoids breakages due to `-Wgnu-anonymous-struct`.
This commit is contained in:
parent
32421fed89
commit
c994fe4879
|
@ -7,7 +7,9 @@ if host_machine.system() != 'linux'
|
||||||
subdir_done()
|
subdir_done()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
liburing = dependency('liburing', required: get_option('io_uring'))
|
liburing = dependency('liburing',
|
||||||
|
include_type: 'system',
|
||||||
|
required: get_option('io_uring'))
|
||||||
uring_features.set('HAVE_URING', liburing.found())
|
uring_features.set('HAVE_URING', liburing.found())
|
||||||
configure_file(output: 'Features.h', configuration: uring_features)
|
configure_file(output: 'Features.h', configuration: uring_features)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue