Enable android logging from libusb

This makes libusb to log straight to the android logging system. This
makes sure we can reach the logs and debug things.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2015-08-21 00:19:38 +02:00 committed by Dirk Hohndel
parent 676c1b319f
commit 72872bd7fd

View file

@ -218,7 +218,8 @@ fi
if [ ! -e $PKG_CONFIG_LIBDIR/libusb-1.0.pc ] ; then
mkdir -p libusb-build-$ARCH
pushd libusb-build-$ARCH
../libusb-${LIBUSB_VERSION}/configure --host=${BUILDCHAIN} --prefix=${PREFIX} --enable-static --disable-shared --disable-udev
../libusb-${LIBUSB_VERSION}/configure --host=${BUILDCHAIN} --prefix=${PREFIX} --enable-static --disable-shared --disable-udev --enable-system-log
# --enable-debug-log
make
make install
popd