don't build a-r-d if alsa backend is not built

This commit is contained in:
Robin Gareus 2014-06-05 18:18:56 +02:00
parent 27af0f2d4b
commit 475e24f1d9
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ def build(bld):
obj.vnum = '0.0.1'
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardouralsautil')
if bld.is_defined('HAVE_ALSA') and bld.is_defined('HAVE_DBUS'):
if bld.env['BUILD_ALSABACKEND'] and bld.is_defined('HAVE_ALSA') and bld.is_defined('HAVE_DBUS'):
obj = bld(features = 'c cprogram')
obj.source = [
'reserve.c',