wscript: fix build with waf >= 2.1.0

Replace add_option_group by add_argument_group to a build failure with
waf 2.1.0 and
bd5c22d484:

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
pull/86/head
Fabrice Fontaine 2024-07-27 20:41:45 +02:00
parent 669fc4f671
commit ae1dd60bcd
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ system = platform.system().lower()
def options(ctx): def options(ctx):
ctx.recurse('protolib') ctx.recurse('protolib')
build_opts = ctx.parser.add_option_group('Compile/install Options', 'Use during build/install step.') build_opts = ctx.parser.add_argument_group('Compile/install Options', 'Use during build/install step.')
def configure(ctx): def configure(ctx):
ctx.recurse('protolib') ctx.recurse('protolib')