Browse Source

wscript: Setting SYSTEMD_USER_UNIT_DIR to None, if the option is not set (the options seem not to be available in build later on.... hopefully conf.env is.

tags/v1.9.13
David Runge 6 years ago
parent
commit
1b3269d525
No known key found for this signature in database GPG Key ID: 54C28F4FF5A1A949
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      wscript

+ 4
- 2
wscript View File

@@ -269,6 +269,9 @@ def configure(conf):
if conf.env['IS_LINUX']:
if Options.options.systemd_unit:
conf.recurse('systemd')
else:
conf.env['SYSTEMD_USER_UNIT_DIR'] = None


conf.recurse('example-clients')

@@ -773,8 +776,7 @@ def build(bld):
bld.recurse('example-clients')
if bld.env['IS_LINUX']:
bld.recurse('man')
if Options.options.systemd_unit:
bld.recurse('systemd')
bld.recurse('systemd')
if not bld.env['IS_WINDOWS']:
bld.recurse('tests')
if bld.env['BUILD_JACKDBUS']:


Loading…
Cancel
Save