From: Fred Morcos Date: Tue, 15 Aug 2023 11:28:42 +0000 (+0200) Subject: Meson: Use libpdns and libpdns_meson to build pdns_server X-Git-Tag: rec-5.1.0-alpha1~80^2~254 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a4c82644d55eedfc7b7db7dc80711d6d474f3dd;p=thirdparty%2Fpdns.git Meson: Use libpdns and libpdns_meson to build pdns_server --- diff --git a/meson.build b/meson.build index bab2e35a25..85c49c22b3 100644 --- a/meson.build +++ b/meson.build @@ -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)