]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: use bison --defines=HEADER
authorKarel Zak <kzak@redhat.com>
Mon, 13 Nov 2023 13:12:07 +0000 (14:12 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 20 Nov 2023 21:25:47 +0000 (22:25 +0100)
It's more backwardly compatible than --header=.

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/meson.build

index d210a6d6a135c579cd153c1cb5129055ee137b53..560352d179c9cea2b5b3c9d13fe76c7abdab7e60 100644 (file)
@@ -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(