From fcc8b273c3986351953edf26887a221a6859bc6e Mon Sep 17 00:00:00 2001 From: negativeExponent <54053706+negativeExponent@users.noreply.github.com> Date: Sun, 23 May 2021 08:58:43 +0800 Subject: [PATCH] android: Fix build --- src/libretro/jni/Android.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libretro/jni/Android.mk b/src/libretro/jni/Android.mk index 5868e9a4..c2b85e64 100644 --- a/src/libretro/jni/Android.mk +++ b/src/libretro/jni/Android.mk @@ -4,6 +4,7 @@ LIBRETRO_DIR := $(CORE_DIR)/libretro FRONTEND_SUPPORTS_RGB565 := 1 TILED_RENDERING := 1 +NO_LINK := 1 include $(LIBRETRO_DIR)/Makefile.common @@ -18,6 +19,10 @@ ifneq ($(CURRENT_COMMIT),$(TAG_COMMIT)) COREFLAGS += -DGIT_COMMIT=\"$(CURRENT_COMMIT)\" endif +ifeq ($(NO_LINK), 1) +COREFLAGS += -DNO_LINK +endif + include $(CLEAR_VARS) LOCAL_MODULE := retro LOCAL_SRC_FILES := $(SOURCES_CXX)