(Android) Fix includes
authorlibretroadmin <reallibretroretroarch@gmail.com>
Sat, 4 Jun 2022 21:51:59 +0000 (23:51 +0200)
committerlibretroadmin <reallibretroretroarch@gmail.com>
Sat, 4 Jun 2022 21:51:59 +0000 (23:51 +0200)
jni/Android.mk

index ef1d612..7a326fb 100644 (file)
@@ -144,6 +144,7 @@ ifeq ($(HAVE_LIGHTREC),1)
   COREFLAGS   += -DLIGHTREC -DLIGHTREC_STATIC
   EXTRA_INCLUDES += $(DEPS_DIR)/lightning/include \
                    $(DEPS_DIR)/lightrec \
+                   $(DEPS_DIR)/lightrec/tlsf \
                    $(ROOT_DIR)/include/lightning \
                    $(ROOT_DIR)/include/lightrec
   SOURCES_C   += $(DEPS_DIR)/lightrec/blockcache.c \
@@ -163,7 +164,7 @@ ifeq ($(HAVE_LIGHTREC),1)
                                          $(DEPS_DIR)/lightning/lib/jit_print.c \
                                          $(DEPS_DIR)/lightning/lib/jit_size.c \
                                          $(DEPS_DIR)/lightning/lib/lightning.c
-  SOURCES_C   += $(CORE_DIR)/lightrec/plugin.c $(CORE_DIR)/lightrec/tlsf/tlsf.c
+  SOURCES_C   += $(CORE_DIR)/lightrec/plugin.c $(DEPS_DIR)/lightrec/tlsf/tlsf.c
 ifeq ($(LIGHTREC_CUSTOM_MAP),1)
   SOURCES_C   += $(CORE_DIR)/lightrec/mem.c
 endif