summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-06-24 12:07:36 -0700
committerKeith Packard <keithp@keithp.com>2016-06-29 19:17:45 -0700
commit6d15cf1580563aea90e9c47f5b268c9c7bb9ba26 (patch)
tree60baf09d12852d4975a04a8cc6c47e8495996b89
parent3374a9069618658a33af54472d8670e3086af1e0 (diff)
altosdroid: Deal with multiple installed android SDKs
Use the latest SDK's zipalign Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--altosdroid/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/altosdroid/Makefile.am b/altosdroid/Makefile.am
index 295abbc5..686aeabf 100644
--- a/altosdroid/Makefile.am
+++ b/altosdroid/Makefile.am
@@ -15,7 +15,7 @@ ADB=$(SDK)/platform-tools/adb
AAPT=$(SDK)/platform-tools/aapt
APKBUILDER=$(SDK)/tools/apkbuilder
ZIPALIGN_A=$(SDK)/tools/zipalign
-ZIPALIGN_B=$(SDK)/build-tools/*/zipalign
+ZIPALIGN_B=$(shell ls $(SDK)/build-tools/*/zipalign | tail -1)
JAVA_SRC_DIR=src/org/altusmetrum/AltosDroid
EXT_LIBDIR=libs