Browse Source

add mandatory=False to dbus-1 check so that the custom error message is shown if dbus-1 is missing

tags/v1.9.11-RC1
Karl Lindén 10 years ago
parent
commit
8accf6531a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dbus/wscript

+ 1
- 1
dbus/wscript View File

@@ -12,7 +12,7 @@ def options(opt):
def configure(conf): def configure(conf):
conf.env['BUILD_JACKDBUS'] = False conf.env['BUILD_JACKDBUS'] = False


if not conf.check_cfg(package='dbus-1', atleast_version='1.0.0', args='--cflags --libs'):
if not conf.check_cfg(package='dbus-1', atleast_version='1.0.0', args='--cflags --libs', mandatory=False):
print(Logs.colors.RED + 'WARNING !! jackdbus will not be built because libdbus-dev is missing' + Logs.colors.NORMAL) print(Logs.colors.RED + 'WARNING !! jackdbus will not be built because libdbus-dev is missing' + Logs.colors.NORMAL)
return return




Loading…
Cancel
Save