Commit 8a15af4f authored by Arnaud Rebillout's avatar Arnaud Rebillout Committed by Arun Raghavan
Browse files

meson: Move oss-util in a library



Like it was with the aututools
Signed-off-by: default avatarArnaud Rebillout <arnaud.rebillout@collabora.com>
parent 091906cb
......@@ -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
......
liboss_util_sources = [
'oss-util.c'
]
liboss_util_headers = [
'oss-util.h'
]
liboss_util = shared_library('oss-util',
liboss_util_sources,
liboss_util_headers,
c_args : [pa_c_args, server_c_args],
include_directories : [configinc, topinc],
dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep],
install : true,
install_dir : modlibexecdir,
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment