From c2efc39706158aa1bcce04210f05d4b4fc780576 Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Fri, 17 Nov 2023 19:28:40 +0100 Subject: [PATCH] Meson: Fix dnslabeltext being generated several times --- pdns/meson.build | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pdns/meson.build b/pdns/meson.build index 697065fba4..17ac9176a6 100644 --- a/pdns/meson.build +++ b/pdns/meson.build @@ -214,7 +214,13 @@ if not fs.is_file(libpdns_dnslabeltext_cc) libpdns_dnslabeltext_cc = ragel_generator.process('dnslabeltext.rl') endif -libpdns_dnslabeltext = declare_dependency(sources: [libpdns_dnslabeltext_cc]) +libpdns_dnslabeltext = declare_dependency( + link_whole: static_library( + 'pdns-dnslabeltext', + sources: [libpdns_dnslabeltext_cc], + dependencies: [deps], + ) +) libpdns_common = declare_dependency( link_whole: static_library( -- 2.47.3