meson: Move oss-util in a library

Like it was with the aututools

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
Arnaud Rebillout 2018-11-26 16:29:12 +07:00 committed by Arun Raghavan
parent 091906cb03
commit 8a15af4ffc
2 changed files with 19 additions and 1 deletions

View file

@ -77,8 +77,9 @@ if cc.has_header('linux/input.h')
endif
if cc.has_header('sys/soundcard.h')
subdir('oss')
all_modules += [
[ 'module-oss', [ 'oss/module-oss.c', 'oss/oss-util.c', 'oss/oss-util.h' ] ],
[ 'module-oss', 'oss/module-oss.c', [], [], [], liboss_util ],
]
endif