build-sys: meson: add oss-output option for OSS output support

Restore an option to disable OSS output available with autotools.
This commit is contained in:
Igor V. Kovalenko 2020-11-27 23:49:17 +03:00
parent 1e7adb4fdb
commit ecd597995a
4 changed files with 8 additions and 5 deletions

View file

@ -73,7 +73,7 @@ if cc.has_header('linux/input.h')
]
endif
if cc.has_header('sys/soundcard.h')
if get_option('oss-output')
subdir('oss')
all_modules += [
[ 'module-oss', 'oss/module-oss.c', [], [], [], liboss_util ],