From cf6304dad10a2fb1680370fcd3b7d386a1fe7076 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 17 Feb 2025 14:58:47 +0100 Subject: [PATCH] dnsdist: Only compile lmdb-safe if LMDB has been found --- pdns/dnsdistdist/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/meson.build b/pdns/dnsdistdist/meson.build index ae09fd9741..3b6f42230a 100644 --- a/pdns/dnsdistdist/meson.build +++ b/pdns/dnsdistdist/meson.build @@ -102,7 +102,7 @@ subdir('ext' / 'luawrapper') subdir('ext' / 'protozero') subdir('ext' / 'yahttp') -if get_option('lmdb').allowed() +if dep_lmdb.found() subdir('ext' / 'lmdb-safe') else dep_lmdb_safe = declare_dependency() -- 2.47.2