Skip to content

Commit

Permalink
Allow building jack2 without jackd and jackdbus daemons
Browse files Browse the repository at this point in the history
  • Loading branch information
nedko committed Jun 21, 2024
1 parent 3896997 commit 5f511a1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,7 @@ def configure(conf):
conf.env['BUILD_DEBUG'] = Options.options.debug
conf.env['BUILD_STATIC'] = Options.options.static

if conf.env['BUILD_JACKDBUS']:
conf.env['BUILD_JACKD'] = conf.env['BUILD_CLASSIC']
else:
conf.env['BUILD_JACKD'] = True
conf.env['BUILD_JACKD'] = conf.env['BUILD_CLASSIC']

conf.env['BINDIR'] = conf.env['PREFIX'] + '/bin'

Expand Down Expand Up @@ -396,8 +393,10 @@ def configure(conf):
if Options.options.autostart == 'default':
if conf.env['BUILD_JACKD']:
conf.env['AUTOSTART_METHOD'] = 'classic'
else:
elif conf.env['BUILD_JACKDBUS']:
conf.env['AUTOSTART_METHOD'] = 'dbus'
else:
conf.env['AUTOSTART_METHOD'] = 'none'
else:
conf.env['AUTOSTART_METHOD'] = Options.options.autostart

Expand Down

0 comments on commit 5f511a1

Please sign in to comment.