From 74c817c61118df4674e837a96e6949fdbbf63a33 Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Mon, 30 May 2022 21:23:48 +0200 Subject: [PATCH] (Android) Only build in libpcsxcore/lightrec/mem.c when LIGHTREC_CUSTOM_MAP is set to 1 --- jni/Android.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jni/Android.mk b/jni/Android.mk index bae71769..a64525ef 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -164,8 +164,10 @@ ifeq ($(HAVE_LIGHTREC),1) $(DEPS_DIR)/lightning/lib/jit_size.c \ $(DEPS_DIR)/lightning/lib/lightning.c SOURCES_C += $(CORE_DIR)/lightrec/plugin.c +ifeq ($(LIGHTREC_CUSTOM_MAP),1) SOURCES_C += $(CORE_DIR)/lightrec/mem.c endif +endif ifeq ($(TARGET_ARCH_ABI),armeabi-v7a) -- 2.39.5