From: Fred Morcos Date: Tue, 15 Aug 2023 13:26:37 +0000 (+0200) Subject: Meson: lua2 backend cleanup X-Git-Tag: rec-5.1.0-alpha1~80^2~243 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7da30e804f735648dbc651fa85b2ab493cc42c54;p=thirdparty%2Fpdns.git Meson: lua2 backend cleanup --- diff --git a/modules/lua2backend/meson.build b/modules/lua2backend/meson.build index ea8a649b57..da1a28253c 100644 --- a/modules/lua2backend/meson.build +++ b/modules/lua2backend/meson.build @@ -1,15 +1,20 @@ -module_sources = [ +sources = [ 'lua2api2.cc', 'lua2backend.cc', +] - # Headers +headers = [ 'lua2backend.hh', 'lua2api2.hh', - # config_h, ] if get_variable(module_name + '_module') - static_library(module_backend_name, module_sources, include_directories: toplevel_includes, dependencies: [dep_libcrypto, dep_lua]) + static_library( + module_backend_name, + sources, + dependencies: [dep_pdns, dep_libcrypto, dep_lua], + extra_files: [headers], + ) endif if get_variable(module_name + '_dyn_module')