mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
bluez 5: Build both headset backends, if available
Enable both ofono and native backends to be built into the same libbluez5-util. Never build the null backend. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
807c98a37d
commit
1ffede3c85
6 changed files with 67 additions and 27 deletions
|
|
@ -2129,8 +2129,16 @@ module_bluez4_device_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) $(SBC_CFLAGS)
|
|||
libbluez5_util_la_SOURCES = \
|
||||
modules/bluetooth/bluez5-util.c \
|
||||
modules/bluetooth/bluez5-util.h \
|
||||
modules/bluetooth/a2dp-codecs.h \
|
||||
modules/bluetooth/backend-@BLUETOOTH_HEADSET_BACKEND@.c
|
||||
modules/bluetooth/a2dp-codecs.h
|
||||
if HAVE_BLUEZ_5_OFONO_HEADSET
|
||||
libbluez5_util_la_SOURCES += \
|
||||
modules/bluetooth/backend-ofono.c
|
||||
endif
|
||||
if HAVE_BLUEZ_5_NATIVE_HEADSET
|
||||
libbluez5_util_la_SOURCES += \
|
||||
modules/bluetooth/backend-native.c
|
||||
endif
|
||||
|
||||
libbluez5_util_la_LDFLAGS = -avoid-version
|
||||
libbluez5_util_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
|
||||
libbluez5_util_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue