mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
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:
parent
091906cb03
commit
8a15af4ffc
2 changed files with 19 additions and 1 deletions
|
|
@ -77,8 +77,9 @@ if cc.has_header('linux/input.h')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if cc.has_header('sys/soundcard.h')
|
if cc.has_header('sys/soundcard.h')
|
||||||
|
subdir('oss')
|
||||||
all_modules += [
|
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
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
17
src/modules/oss/meson.build
Normal file
17
src/modules/oss/meson.build
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
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,
|
||||||
|
)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue