[PATCH 02/10] Enable android logging from libusb

Anton Lundin glance at acc.umu.se
Thu Aug 20 15:19:38 PDT 2015


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 at acc.umu.se>
---
 packaging/android/build.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/packaging/android/build.sh b/packaging/android/build.sh
index 9dee8c1..fef8ecb 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
-- 
2.1.4



More information about the subsurface mailing list