(Android) Only build in libpcsxcore/lightrec/mem.c when
authorlibretroadmin <reallibretroretroarch@gmail.com>
Mon, 30 May 2022 19:23:48 +0000 (21:23 +0200)
committerlibretroadmin <reallibretroretroarch@gmail.com>
Mon, 30 May 2022 19:23:48 +0000 (21:23 +0200)
LIGHTREC_CUSTOM_MAP is set to 1

jni/Android.mk

index bae7176..a64525e 100644 (file)
@@ -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)