From 245d35798fde169db8fa60bda2e86603233c1ea0 Mon Sep 17 00:00:00 2001 From: Aaron Kling Date: Wed, 4 Apr 2018 13:39:15 -0500 Subject: [PATCH] Fix android jni compile with clang --- jni/Android.mk | 1 + jni/Application.mk | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/jni/Android.mk b/jni/Android.mk index 9dd9e399..7d215146 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -102,6 +102,7 @@ LOCAL_SRC_FILES += ../frontend/libretro.c LOCAL_CFLAGS += -O3 -ffast-math -funroll-loops -DNDEBUG -D_FILE_OFFSET_BITS=64 -DHAVE_LIBRETRO -DNO_FRONTEND -DFRONTEND_SUPPORTS_RGB565 -DANDROID LOCAL_C_INCLUDES += $(LOCAL_PATH)/../include +LOCAL_LDFLAGS := -Wl,-Bsymbolic -shared LOCAL_LDLIBS := -lz -llog include $(BUILD_SHARED_LIBRARY) diff --git a/jni/Application.mk b/jni/Application.mk index 3e882e74..f05229c8 100644 --- a/jni/Application.mk +++ b/jni/Application.mk @@ -1,2 +1 @@ APP_ABI := armeabi armeabi-v7a -APP_PLATFORM := android-9 -- 2.39.5