pulseaudio/src/modules/bluetooth/meson.build
Rasmus Thomsen bff163089c meson: link libintl if it's not provided by libc
This fixes the build on musl with external gettext
2019-09-25 04:42:03 +00:00

33 lines
813 B
Meson

libbluez5_util_sources = [
'a2dp-codec-sbc.c',
'a2dp-codec-util.c',
'bluez5-util.c',
]
libbluez5_util_headers = [
'a2dp-codec-api.h',
'a2dp-codecs.h',
'a2dp-codec-util.h',
'bluez5-util.h',
'rtp.h',
]
if get_option('bluez5-native-headset')
libbluez5_util_sources += [ 'backend-native.c' ]
endif
if get_option('bluez5-ofono-headset')
libbluez5_util_sources += [ 'backend-ofono.c' ]
endif
libbluez5_util = shared_library('bluez5-util',
libbluez5_util_sources,
libbluez5_util_headers,
c_args : [pa_c_args, server_c_args],
link_args : [nodelete_link_args],
include_directories : [configinc, topinc],
dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, dbus_dep, sbc_dep, libintl_dep],
install : true,
install_rpath : privlibdir,
install_dir : modlibexecdir,
)