From 0faa8397c3d3a725070740d2fba1364d16295ac0 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 16 Jan 2023 13:54:48 +1030 Subject: [PATCH] wallet: add dependency on lightningd/ headers. wallet should really be a subdir of lightningd. Signed-off-by: Rusty Russell --- wallet/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wallet/Makefile b/wallet/Makefile index 05ce68de4..58d546416 100644 --- a/wallet/Makefile +++ b/wallet/Makefile @@ -19,6 +19,9 @@ WALLET_HDRS := $(WALLET_LIB_SRC:.c=.h) WALLET_OBJS := $(WALLET_SRC:.c=.o) +# This really should be a subdir of lightningd/. We depend on their headers! +$(WALLET_OBJS): $(LIGHTNINGD_SRC:.c=.h) + # Make sure these depend on everything. ALL_C_SOURCES += $(WALLET_SRC) $(WALLET_DB_QUERIES) ALL_C_HEADERS += $(WALLET_HDRS)