]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Use libpdns and libpdns_meson to build pdns_server
authorFred Morcos <fred.morcos@open-xchange.com>
Tue, 15 Aug 2023 11:28:42 +0000 (13:28 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:36 +0000 (13:28 +0100)
meson.build

index bab2e35a25f8c2cbe0dbdf82c4f1f9c348fe4310..85c49c22b36a560f4620bd77876de776631c97dd 100644 (file)
@@ -165,6 +165,10 @@ endforeach
 conf.set_quoted('PDNS_MODULES', ' '.join(selected_modules), description: 'Built-in modules')
 conf.set_quoted('PDNS_DYN_MODULES', ' '.join(selected_dyn_modules), description: 'Dynamically loadable modules that were built along with pdns')
 
+# Generate config.h ----------------------------------------------------------------------
+config_h = configure_file(configuration: conf, output: 'config.h')
+# summary('Defines', conf.keys(), section: 'Build Configuration') # TODO Meson 0.57
+
 # Ext
 ext_modules = ['yahttp', 'ipcrypt', 'json11']
 subdir('ext')
@@ -172,10 +176,5 @@ subdir('ext')
 # Pdns
 subdir('pdns')
 
-# Generate config.h ----------------------------------------------------------------------
-config_h = configure_file(configuration: conf, output: 'config.h')
-# summary('Defines', conf.keys(), section: 'Build Configuration') # TODO Meson 0.57
-
-# TODO: Add source files
-internal_deps = [libpdns, libpdns_bindparser, libpdns_auth]
+internal_deps = [libpdns, libpdns_auth]
 auth = executable('pdns_server', config_h, dependencies: deps, link_with: internal_deps, export_dynamic: true)