From 31af08feaa39ff7b08804a22219a4ae152d1cf16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Thu, 16 Mar 2023 16:13:47 -0400
Subject: [PATCH] build/meson: build durl with http and tools

---
 meson.build | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meson.build b/meson.build
index 09291a80..33aee990 100644
--- a/meson.build
+++ b/meson.build
@@ -76,4 +76,9 @@ if get_option('tools').enabled()
     dhtnode = executable('dhtnode', 'tools/dhtnode.cpp',
         link_with : opendht,
         dependencies : [readline, msgpack])
+    if http_parser.found()
+        durl = executable('durl', 'tools/durl.cpp',
+        link_with : opendht,
+        dependencies : [msgpack, openssl])
+    endif
 endif
-- 
GitLab