Skip to content

Commit 5aa1f37

Browse files
rustyrussellcdecker
authored andcommitted
devtools/Makefile: add devtools/onion.c to DEVTOOLS_TOOL_SRC
This way the object file correctly depends on external headers. Currently a parallel build on a clean tree can give: ``` In file included from ./common/sphinx.h:6:0, from devtools/onion.c:5: ./bitcoin/pubkey.h:8:10: fatal error: secp256k1.h: No such file or directory #include <secp256k1.h> ^~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'devtools/onion.o' failed ``` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1 parent 5d0a54b commit 5aa1f37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devtools/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
DEVTOOLS_SRC := devtools/gen_print_wire.c devtools/print_wire.c
22
DEVTOOLS_OBJS := $(DEVTOOLS_SRC:.c=.o)
3-
DEVTOOLS_TOOL_SRC := devtools/bolt11-cli.c devtools/decodemsg.c
3+
DEVTOOLS_TOOL_SRC := devtools/bolt11-cli.c devtools/decodemsg.c devtools/onion.c
44
DEVTOOLS_TOOL_OBJS := $(DEVTOOLS_TOOL_SRC:.c=.o)
55

66
DEVTOOLS_COMMON_OBJS := \

0 commit comments

Comments
 (0)