]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Only compile lmdb-safe if LMDB has been found
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 17 Feb 2025 13:58:47 +0000 (14:58 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 7 Mar 2025 16:24:20 +0000 (17:24 +0100)
pdns/dnsdistdist/meson.build

index ae09fd9741aa34cb9dc6e92f05830c8317ae708b..3b6f42230ad10ddb8ee02bd3d6182dcd72a25dc1 100644 (file)
@@ -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()