From: Fred Morcos Date: Tue, 15 Aug 2023 11:28:05 +0000 (+0200) Subject: Meson: Build the auth bindbackend as a shared module X-Git-Tag: rec-5.1.0-alpha1~80^2~256 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a8ef8a8f7023f53798199a0e5dd3723035c48a4;p=thirdparty%2Fpdns.git Meson: Build the auth bindbackend as a shared module --- diff --git a/modules/bindbackend/meson.build b/modules/bindbackend/meson.build index f9ae5887e1..261a7b5360 100644 --- a/modules/bindbackend/meson.build +++ b/modules/bindbackend/meson.build @@ -5,10 +5,6 @@ module_sources = [ # Headers 'bindbackend2.hh', # config_h, - - # TODO These should be in their own library (and avoid product_source_dir) - flex_generator.process(product_source_dir / 'pdns' / 'bindlexer.l'), - bison_generator.process(product_source_dir / 'pdns' / 'bindparser.yy'), ] # TODO These should be packaged up some other way (and avoid product_source_dir) @@ -30,7 +26,7 @@ if get_variable(module_name + '_module') endif if get_variable(module_name + '_dyn_module') - lib = shared_library( + lib = shared_module( module_backend_name, module_sources, include_directories: toplevel_includes,