aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2025-07-21 13:11:22 +0200
committerBernd Schubert <bernd@bsbernd.com>2025-07-22 14:47:12 +0200
commit2f092ef1084fe72c6cc26a8cde61ee94329c2f34 (patch)
tree4d27f0fbcdc561bdc246e64bbf0bbc049ae3dfc4
parent062465063500e042723a24704a6e350907cb8f8c (diff)
downloadlibfuse-2f092ef1084fe72c6cc26a8cde61ee94329c2f34.tar.gz
Simplify meson condition for liburing
Signed-off-by: Bernd Schubert <bschubert@ddn.com>
-rw-r--r--meson.build6
1 files changed, 2 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index 05ca1e7..f98ef8a 100644
--- a/meson.build
+++ b/meson.build
@@ -158,12 +158,10 @@ int main(void) {
return ret;
}'''
-liburing = get_option('enable-io-uring') ? \
- dependency('liburing', required: false) :\
- dependency('', required: false)
+liburing = dependency('liburing', required: false)
libnuma = dependency('numa', required: false)
-if liburing.found() and libnuma.found()
+if get_option('enable-io-uring') and liburing.found() and libnuma.found()
if cc.links(code,
name: 'liburing linking and SQE128 support',
dependencies: [liburing])