diff --git a/libs/backends/wscript b/libs/backends/wscript index ece2a487be..01ae0218e5 100644 --- a/libs/backends/wscript +++ b/libs/backends/wscript @@ -36,7 +36,7 @@ def build(bld): if sys.platform == 'darwin' or sys.platform == 'mingw' or sys.platform == 'msvc': backends += [ 'wavesaudio' ] - if Options.options.build_dummy: + if bld.is_defined('HAVE_DUMMY'): backends += [ 'dummy' ] for i in backends: