]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Don't build with `libedit` if disabled via `meson` 15521/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 5 May 2025 09:05:39 +0000 (11:05 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 5 May 2025 09:06:53 +0000 (11:06 +0200)
Based on a patch by Robert Edmonds (thanks!).

pdns/dnsdistdist/meson/libedit/meson.build

index 55c2e298873f09b4d3034f9f4e113ca8c99cd7a1..7053afd2dfca08568b3654254d31183ce0bb8979 100644 (file)
@@ -1,5 +1,5 @@
 opt_libedit = get_option('libedit')
-dep_libedit = dependency('libedit', required: false)
+dep_libedit = dependency('libedit', required: opt_libedit)
 
 if not dep_libedit.found()
   dep_libedit = cxx.find_library('edit', required: opt_libedit)