aboutsummaryrefslogtreecommitdiff
path: root/tools/android
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2018-09-24 11:00:00 +0200
committerRechi <Rechi@users.noreply.github.com>2018-09-24 11:00:00 +0200
commitce328e95df78f73303052571d46018b6e64cb153 (patch)
tree1b692fbe62800ca9ff6a863426015e4a6290ec3d /tools/android
parent27a57a614f44e201b7a81b5b0d8823fea35b16d0 (diff)
[android] use ndk 18
Diffstat (limited to 'tools/android')
-rw-r--r--tools/android/packaging/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/android/packaging/Makefile.in b/tools/android/packaging/Makefile.in
index d3987ec237..07776ce320 100644
--- a/tools/android/packaging/Makefile.in
+++ b/tools/android/packaging/Makefile.in
@@ -45,6 +45,10 @@ endif
# libc++
STLLIB=$(TOOLCHAIN)/$(HOST)/lib/libc++_shared.so
+# https://android.googlesource.com/platform/ndk/+/fe0fe5dc32682d1811d32492c3055becb512c147/build/tools/make_standalone_toolchain.py#308
+ifeq ($(findstring armeabi-v7a,$(CPU)),armeabi-v7a)
+ STLLIB=$(TOOLCHAIN)/$(HOST)/lib/armv7-a/libc++_shared.so
+endif
#older ndk x86
GDBPATH=$(NDKROOT)/toolchains/$(ARCH)-$(GCC_VERSION)/prebuilt/gdbserver