From: David Gibson Date: Fri, 31 Mar 2017 11:25:07 +0000 (+1100) Subject: tools: Add asort module X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=72636ab7bfcd30acbdd0cf2e275f53399bfeb2d7 tools: Add asort module tools/manifest.c uses asort(), but the asort module is not in TOOLS_CCAN_MODULES. That causes compile failures on some platforms, so correct it. Signed-off-by: David Gibson --- diff --git a/Makefile b/Makefile index 90dca604..dff35230 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ config.h: $(CONFIGURATOR) Makefile TOOLS := tools/ccan_depends tools/doc_extract tools/namespacize tools/modfiles TOOLS_SRCS := $(filter-out $(TOOLS:%=%.c), $(wildcard tools/*.c)) TOOLS_DEPS := $(TOOLS_SRCS:%.c=%.d) $(TOOLS:%=%.d) -TOOLS_CCAN_MODULES := err foreach hash htable list noerr opt rbuf \ +TOOLS_CCAN_MODULES := asort err foreach hash htable list noerr opt rbuf \ read_write_all str take tal tal/grab_file tal/link tal/path tal/str time TOOLS_CCAN_SRCS := $(wildcard $(TOOLS_CCAN_MODULES:%=ccan/%/*.c)) TOOLS_OBJS := $(TOOLS_SRCS:%.c=%.o) $(TOOLS_CCAN_SRCS:%.c=%.o)