Fix Android build (#716)
authorPaul Cercueil <paul@crapouillou.net>
Sat, 11 Feb 2023 18:34:16 +0000 (18:34 +0000)
committerGitHub <noreply@github.com>
Sat, 11 Feb 2023 18:34:16 +0000 (19:34 +0100)
Android builds don't use the Makefile, and the build recipe wasn't
modified to add the new constprop.c source file from Lightrec.

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

index 4ba224f..37e3c35 100644 (file)
@@ -156,6 +156,7 @@ ifeq ($(HAVE_LIGHTREC),1)
                    $(ROOT_DIR)/include/lightning \
                    $(ROOT_DIR)/include/lightrec
   SOURCES_C   += $(DEPS_DIR)/lightrec/blockcache.c \
+                                         $(DEPS_DIR)/lightrec/constprop.c \
                                          $(DEPS_DIR)/lightrec/disassembler.c \
                                          $(DEPS_DIR)/lightrec/emitter.c \
                                          $(DEPS_DIR)/lightrec/interpreter.c \