From f5c9c760e3e817676b41cf7907ebad84efdff560 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Sun, 10 Jun 2018 17:46:47 +0200 Subject: [PATCH] Android: use c++_shared library instead of c++_static MT doesn't launch without that --- build/android/jni/Application.mk | 2 +- build/android/jni/Deps.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/android/jni/Application.mk b/build/android/jni/Application.mk index f6e2f6b22..d3d8b352d 100644 --- a/build/android/jni/Application.mk +++ b/build/android/jni/Application.mk @@ -1,6 +1,6 @@ APP_PLATFORM := ${APP_PLATFORM} APP_ABI := ${TARGET_ABI} -APP_STL := c++_static +APP_STL := c++_shared APP_MODULES := minetest APP_CPPFLAGS += -fexceptions -frtti diff --git a/build/android/jni/Deps.mk b/build/android/jni/Deps.mk index 6a58c5428..a4b6dde12 100644 --- a/build/android/jni/Deps.mk +++ b/build/android/jni/Deps.mk @@ -1,6 +1,6 @@ APP_PLATFORM := ${APP_PLATFORM} APP_ABI := ${TARGET_ABI} -APP_STL := c++_static +APP_STL := c++_shared APP_DEPRECATED_HEADERS := true APP_CFLAGS += -mfloat-abi=softfp -mfpu=vfpv3 -O3