From: Karel Zak Date: Mon, 13 Nov 2023 13:12:07 +0000 (+0100) Subject: meson: use bison --defines=HEADER X-Git-Tag: v2.40-rc1~151^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c4555b426dbaf13360a2b926bca107ed1f3abd0d;p=thirdparty%2Futil-linux.git meson: use bison --defines=HEADER It's more backwardly compatible than --header=. Signed-off-by: Karel Zak --- diff --git a/libsmartcols/meson.build b/libsmartcols/meson.build index d210a6d6a1..560352d179 100644 --- a/libsmartcols/meson.build +++ b/libsmartcols/meson.build @@ -14,7 +14,7 @@ configure_file( scols_bison = generator( bison, output : ['@BASENAME@.c', '@BASENAME@.h'], - arguments : ['@INPUT@', '--output=@OUTPUT0@', '--header=@OUTPUT1@']) + arguments : ['@INPUT@', '--output=@OUTPUT0@', '--defines=@OUTPUT1@']) scols_parser_c = scols_bison.process('src/filter-parser.y') scols_flex = generator(