From: libretroadmin Date: Mon, 30 May 2022 19:23:48 +0000 (+0200) Subject: (Android) Only build in libpcsxcore/lightrec/mem.c when X-Git-Tag: r24l~467 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74c817c61118df4674e837a96e6949fdbbf63a33;p=pcsx_rearmed.git (Android) Only build in libpcsxcore/lightrec/mem.c when LIGHTREC_CUSTOM_MAP is set to 1 --- 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)