Fix build of jack-example-tools with waf autooptions

wscript:
In 61a708f2c6873881ae36fa2f01b38a15bfc3f681 a regression has been
introduced, that always leads to not building the jack-example-tools
(even if selected).
This has been introduced due to the use of the wrong configuration
environment `HAVE_JACK_EXAMPLE_TOOLS`, whereas it should have been
`BUILD_JACK_EXAMPLE_TOOLS`.
This commit is contained in:
David Runge 2022-01-08 00:39:55 +01:00 committed by falkTX
parent ef2a0d3b79
commit e8c0be1ce9
1 changed files with 3 additions and 3 deletions

View File

@ -300,7 +300,7 @@ def configure(conf):
else:
conf.env['SYSTEMD_USER_UNIT_DIR'] = None
if conf.env['HAVE_JACK_EXAMPLE_TOOLS']:
if conf.env['BUILD_JACK_EXAMPLE_TOOLS']:
conf.recurse('example-clients')
conf.recurse('tools')
@ -806,14 +806,14 @@ def build(bld):
build_drivers(bld)
if bld.env['HAVE_JACK_EXAMPLE_TOOLS']:
if bld.env['BUILD_JACK_EXAMPLE_TOOLS']:
bld.recurse('example-clients')
bld.recurse('tools')
if bld.env['IS_LINUX'] or bld.env['IS_FREEBSD']:
bld.recurse('man')
bld.recurse('systemd')
if not bld.env['IS_WINDOWS'] and bld.env['HAVE_JACK_EXAMPLE_TOOLS']:
if not bld.env['IS_WINDOWS'] and bld.env['BUILD_JACK_EXAMPLE_TOOLS']:
bld.recurse('tests')
if bld.env['BUILD_JACKDBUS']:
bld.recurse('dbus')