~ruther/guix-local

ref: 6e8d2d28e9dbcaeca73c39d45c8db3cef6dfa39f guix-local/gnu/packages/patches/opendht-meson-liburing.patch -rw-r--r-- 696 bytes
6e8d2d28 — Sharlatan Hellseher gnu: python-jupyter-client: Move to jupyter. 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Upstream-status: <https://github.com/savoirfairelinux/opendht/pull/821>

diff --git a/meson.build b/meson.build
index 7d7c5e0a..d3c4a500 100644
--- a/meson.build
+++ b/meson.build
@@ -208,12 +208,18 @@ if get_option('tools').enabled()
         install: true,
     )
     if llhttp.found()
+        durl_deps = [msgpack, openssl]
+
+        if io_uring.found()
+            durl_deps += io_uring
+        endif
+
         durl = executable(
             'durl',
             'tools/durl.cpp',
             include_directories: opendht_interface_inc,
             link_with: opendht,
-            dependencies: [msgpack, openssl],
+            dependencies: durl_deps,
         )
     endif
 endif