summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorAndrew Fernandes <andrew@fernandes.org>2013-08-20 12:19:26 -0400
committerPete Batard <pete@akeo.ie>2013-12-28 22:58:06 +0000
commit650e22508f6d595d73d565423cb06b14049bd3af (patch)
tree5a706472608941535ffd7683ee266fe556e4fc22 /android
parent805cc3ec40b5b6314e8cef8fb8cd9f8d4e95f293 (diff)
downloadlibusb-650e22508f6d595d73d565423cb06b14049bd3af.tar.gz
Android: Build for all Android architectures
* Don't limit support to ARM only (adds MIPS support) * Also add a workaround for a MIPS NDK linker bug * Also add a gitignore entry required to run bootstrap.sh on OS X * Closes #134
Diffstat (limited to 'android')
-rw-r--r--android/jni/Application.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/android/jni/Application.mk b/android/jni/Application.mk
index 4ab1012..f972a9e 100644
--- a/android/jni/Application.mk
+++ b/android/jni/Application.mk
@@ -16,4 +16,9 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#
-APP_ABI := armeabi armeabi-v7a x86
+APP_ABI := all
+
+# Workaround for MIPS toolchain linker being unable to find liblog dependency
+# of shared object in NDK versions at least up to r9.
+#
+APP_LDFLAGS := -llog