Android.mk: Add missing include paths
authorPaul Cercueil <paul@crapouillou.net>
Thu, 24 Feb 2022 18:43:35 +0000 (18:43 +0000)
committerPaul Cercueil <paul@crapouillou.net>
Thu, 24 Feb 2022 18:53:38 +0000 (18:53 +0000)
Add the missing include paths for <lightrec-config.h> and <lightning.h>.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
jni/Android.mk

index d8fdd42..ce9762a 100644 (file)
@@ -141,7 +141,9 @@ endif
 ifeq ($(HAVE_LIGHTREC),1)
   COREFLAGS   += -DLIGHTREC -DLIGHTREC_STATIC
   EXTRA_INCLUDES += $(DEPS_DIR)/lightning/include \
-                                                 $(DEPS_DIR)/lightrec
+                   $(DEPS_DIR)/lightrec \
+                   $(ROOT_DIR)/include/lightning \
+                   $(ROOT_DIR)/include/lightrec
   SOURCES_C   += $(DEPS_DIR)/lightrec/blockcache.c \
                                          $(DEPS_DIR)/lightrec/disassembler.c \
                                          $(DEPS_DIR)/lightrec/emitter.c \