mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
build-sys: meson: Require bluez dependency if bluez5 feature is enabled
Build breaks if bluez5 and bluez5-native-headset are both enabled but bluez headers are not available. Fix this by changing `bluez5` to Meson feature requiring `bluez` dependency. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/583>
This commit is contained in:
parent
58052e0e04
commit
c817dfb5a4
4 changed files with 9 additions and 7 deletions
|
|
@ -35,7 +35,7 @@ libbluez5_util = shared_library('bluez5-util',
|
|||
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, bluez5_gst_dep, bluez5_gstapp_dep],
|
||||
dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, bluez_dep, dbus_dep, sbc_dep, libintl_dep, bluez5_gst_dep, bluez5_gstapp_dep],
|
||||
install : true,
|
||||
install_rpath : privlibdir,
|
||||
install_dir : modlibexecdir,
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ if avahi_dep.found()
|
|||
]
|
||||
endif
|
||||
|
||||
if get_option('bluez5')
|
||||
if cdata.has('HAVE_BLUEZ_5')
|
||||
subdir('bluetooth')
|
||||
all_modules += [
|
||||
[ 'module-bluetooth-discover', 'bluetooth/module-bluetooth-discover.c' ],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue