From 6b436ebace70ef470a9513f9f0b67d17afe8a236 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Thu, 22 May 2025 16:07:33 +0200 Subject: [PATCH] meson: Make sure is included in af-from-name.gperf --- src/basic/meson.build | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/basic/meson.build b/src/basic/meson.build index 2de53df935..1b4b12108c 100644 --- a/src/basic/meson.build +++ b/src/basic/meson.build @@ -155,17 +155,17 @@ errno_list_txt = custom_target( capture : true) generated_gperf_headers = [] -foreach item : [['af', af_list_txt, 'af', ''], - ['arphrd', arphrd_list_txt, 'arphrd', 'ARPHRD_'], - ['cap', cap_list_txt, 'capability', ''], - ['errno', errno_list_txt, 'errno', '']] +foreach item : [['af', af_list_txt, 'af', '', ['']], + ['arphrd', arphrd_list_txt, 'arphrd', 'ARPHRD_', []], + ['cap', cap_list_txt, 'capability', '', []], + ['errno', errno_list_txt, 'errno', '', []]] fname = '@0@-from-name.gperf'.format(item[0]) gperf_file = custom_target( fname, input : item[1], output : fname, - command : [generate_gperfs, item[2], item[3], '@INPUT@'], + command : [generate_gperfs, item[2], item[3], '@INPUT@'] + item[4], capture : true) fname = '@0@-from-name.inc'.format(item[0])