diff options
author | Andre Guedes <andre.guedes@openbossa.org> | 2014-06-02 11:49:39 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-06-05 20:36:48 +0300 |
commit | be05ab5d2c3d2ce1b13019f5f4d9aba6f5e363ab (patch) | |
tree | 9c706d3777d256fbac747d13e78cf259f0b41493 /.gitignore | |
parent | 64bb9becff7a6432e5b7095ffe3f3fbf82ab8371 (diff) | |
download | bluez-be05ab5d2c3d2ce1b13019f5f4d9aba6f5e363ab.tar.gz |
android: Fix compile error
During configure, if SBC is not installed in the system, we may use
SBC_CFLAGS and SBC_LIBS variables to indicate where SBC headers and
binaries can be found.
However, SBC_CFLAGS variable is not used in android/Makefile.am,
causing the following compile error:
$ ./bootstrap-configure SBC_CFLAGS=-I../sbc SBC_LIBS=-L../sbc/src/
$ make
(...)
android/hal-audio-sbc.c:22:21: fatal error: sbc/sbc.h: No such file or directory
#include <sbc/sbc.h>
^
compilation terminated.
make[1]: *** [android/android_audio_a2dp_default_la-hal-audio-sbc.lo] Error 1
This patch fixes this error by appending SBC_CFLAGS to android_audio_
a2dp_default_la_CFLAGS.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions