diff options
author | Jan Engelhardt <jengelh@inai.de> | 2018-11-25 10:20:11 +0100 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2018-11-26 11:24:36 +0200 |
commit | b5c6746cbc5a30d52fe7cc0c2d6e8ce0d25f0855 (patch) | |
tree | 0b91d41ebde18de0ef3191d338939077170926fd | |
parent | 85af4e7c4cdf3053172ffe2e5e07d866467a592d (diff) | |
download | bluez-b5c6746cbc5a30d52fe7cc0c2d6e8ce0d25f0855.tar.gz |
build: add missing ALSA_CFLAGS
Some targets use ALSA_LIBS, hence need ALSA_CFLAGS.
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | Makefile.plugins | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 5d7bc06b9..26e03b46f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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) diff --git a/Makefile.plugins b/Makefile.plugins index 2aaeb7450..47bf317cb 100644 --- a/Makefile.plugins +++ b/Makefile.plugins @@ -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 |