diff --git a/meson.build b/meson.build
index 09291a80d20bf73afeda3e10014efcd44bcf156e..33aee990e552591b803d3328100ab988d5314cc8 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