build: add missing ALSA_CFLAGS

Some targets use ALSA_LIBS, hence need ALSA_CFLAGS.
This commit is contained in:
Jan Engelhardt 2018-11-25 10:20:11 +01:00 committed by Luiz Augusto von Dentz
parent 85af4e7c4c
commit b5c6746cbc
2 changed files with 4 additions and 1 deletions

View File

@ -160,6 +160,7 @@ gobex_sources = gobex/gobex.h gobex/gobex.c \
builtin_modules =
builtin_sources =
builtin_cppflags =
builtin_nodist =
builtin_ldadd =
@ -217,7 +218,8 @@ src_bluetoothd_DEPENDENCIES = lib/libbluetooth-internal.la \
src/bluetooth.service
src_bluetoothd_CPPFLAGS = $(AM_CPPFLAGS) -DBLUETOOTH_PLUGIN_BUILTIN \
-DPLUGINDIR=\""$(build_plugindir)"\"
-DPLUGINDIR=\""$(build_plugindir)"\" \
$(builtin_cppflags)
src_bluetoothd_SHORTNAME = bluetoothd
builtin_files = src/builtin.h $(builtin_nodist)

View File

@ -97,6 +97,7 @@ builtin_modules += midi
builtin_sources += profiles/midi/midi.c \
profiles/midi/libmidi.h \
profiles/midi/libmidi.c
builtin_cppflags += $(ALSA_CFLAGS)
builtin_ldadd += $(ALSA_LIBS)
endif