]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: json11 ext
authorFred Morcos <fred.morcos@open-xchange.com>
Wed, 9 Aug 2023 14:17:25 +0000 (16:17 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:35 +0000 (13:28 +0100)
ext/json11/meson.build [new file with mode: 0644]
meson.build

diff --git a/ext/json11/meson.build b/ext/json11/meson.build
new file mode 100644 (file)
index 0000000..1f001c9
--- /dev/null
@@ -0,0 +1,9 @@
+module_sources = [
+  'json11.cpp',
+  'json11.hpp',
+]
+
+dep_json11 = declare_dependency(
+  sources: module_sources,
+  include_directories: include_directories('.'),
+)
index b15bdd5d6653ef71c0898c3cf545d23877965c98..5484d65d78ab1f1119f35791ce73ad273267ab90 100644 (file)
@@ -164,7 +164,7 @@ conf.set_quoted('PDNS_MODULES', ' '.join(selected_modules), description: 'Built-
 conf.set_quoted('PDNS_DYN_MODULES', ' '.join(selected_dyn_modules), description: 'Dynamically loadable modules that were built along with pdns')
 
 # Ext
-ext_modules = ['yahttp', 'ipcrypt']
+ext_modules = ['yahttp', 'ipcrypt', 'json11']
 subdir('ext')
 
 # Generate config.h ----------------------------------------------------------------------