Skip to content

Commit f158b52

Browse files
committed
wire/Makefile: fix missing wire/bolt12_exp_wiregen.c in ALL_C_SOURCES.
And add it as a requirement to the test programs! Signed-off-by: Rusty Russell <[email protected]>
1 parent 422e68a commit f158b52

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lightningd/test/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ LIGHTNINGD_TEST_COMMON_OBJS := \
2929
common/permute_tx.o \
3030
common/wireaddr.o \
3131

32-
$(LIGHTNINGD_TEST_PROGRAMS): $(CCAN_OBJS) $(BITCOIN_OBJS) $(WIRE_OBJS) $(LIGHTNINGD_TEST_COMMON_OBJS)
32+
$(LIGHTNINGD_TEST_PROGRAMS): $(CCAN_OBJS) $(BITCOIN_OBJS) $(WIRE_OBJS) $(LIGHTNINGD_TEST_COMMON_OBJS) $(WIRE_BOLT12_OBJS)
3333

3434
$(LIGHTNINGD_TEST_OBJS): $(LIGHTNINGD_HDRS) $(LIGHTNINGD_SRC) $(LIGHTNINGD_SRC_NOHDR)
3535

wire/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ WIRE_NONEXP_HEADERS := wire/peer_wiregen.h \
5353
wire/onion_printgen.h \
5454
wire/channel_type_printgen.h
5555

56-
ALL_C_SOURCES += $(WIRE_SRC) $(WIRE_PRINT_SRC) $(WIRE_NONEXP_SRC)
56+
ALL_C_SOURCES += $(WIRE_SRC) $(WIRE_BOLT12_SRC) $(WIRE_PRINT_SRC) $(WIRE_NONEXP_SRC)
5757

5858
ALL_C_HEADERS += $(WIRE_HEADERS) $(WIRE_NONEXP_HEADERS)
5959

0 commit comments

Comments
 (0)