]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Build the auth bindbackend as a shared module
authorFred Morcos <fred.morcos@open-xchange.com>
Tue, 15 Aug 2023 11:28:05 +0000 (13:28 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:36 +0000 (13:28 +0100)
modules/bindbackend/meson.build

index f9ae5887e1b66d36053ee1d6673d4559379f9784..261a7b536032ad713b186fdcd6071ce22c895465 100644 (file)
@@ -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,