summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2015-08-21 00:19:38 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-20 22:53:01 -0700
commit72872bd7fdd84d714cb38fb4e1e47034511b3ae6 (patch)
tree3d8ae192d2b8501ebff821d4c47e1606c4705b3d /packaging
parent676c1b319f3ba17eda49b7d4cfc454cd64f77818 (diff)
downloadsubsurface-72872bd7fdd84d714cb38fb4e1e47034511b3ae6.tar.gz
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>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/android/build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh
index 9dee8c1a5..fef8ecb55 100644
--- a/packaging/android/build.sh
+++ b/packaging/android/build.sh
@@ -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