From 5d259348657324dbfb2e3bcb4bf8a6280e8d6533 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 12 Sep 2022 09:35:52 +0930 Subject: [PATCH] plugins/Makefile: regenerate plugins list when config changes. In particular, if rust is enabled/disabled. Signed-off-by: Rusty Russell --- plugins/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Makefile b/plugins/Makefile index 426b9e848..d9d49c23c 100644 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -198,7 +198,7 @@ plugins/funder: bitcoin/psbt.o common/psbt_open.o $(PLUGIN_FUNDER_OBJS) $(PLUGIN # Generated from PLUGINS definition in plugins/Makefile ALL_C_HEADERS += plugins/list_of_builtin_plugins_gen.h -plugins/list_of_builtin_plugins_gen.h: plugins/Makefile Makefile +plugins/list_of_builtin_plugins_gen.h: plugins/Makefile Makefile config.vars @$(call VERBOSE,GEN $@,echo "static const char *list_of_builtin_plugins[] = { $(foreach d,$(notdir $(PLUGINS)),\"$d\",) NULL };" > $@) CLN_PLUGIN_EXAMPLES := target/${RUST_PROFILE}/examples/cln-plugin-startup