]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Add transient dependencies for the lmdb backend
authorFred Morcos <fred.morcos@open-xchange.com>
Tue, 29 Aug 2023 09:06:16 +0000 (11:06 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:48 +0000 (13:28 +0100)
On e.g. MacOS or anywhere where include headers are not in the usual
place (e.g. /usr/include), the include directories are not added when building the backend
files. This means a transient include wouldn't be found. In this case this include is
lmdbbackend.cc -> lmdb-safe.hh -> lmdb.h

modules/lmdbbackend/meson.build

index 375d545a02c91e5d28d58c57b0ce8728e4a0fb5b..b03a0552ecbff8311b5f4f9a97f20a188d943773 100644 (file)
@@ -6,7 +6,7 @@ extras = [
   'lmdbbackend.hh',
 ]
 
-deps = [dep_pdns, dep_lmdb_safe]
+deps = [dep_pdns, dep_lmdb_safe, dep_lmdb, dep_boost_serialization]
 
 lib = static_library(
   module_backend_name,