]> git.ozlabs.org Git - ccan/commitdiff
tools: Add asort module
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 31 Mar 2017 11:25:07 +0000 (22:25 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 31 Mar 2017 11:25:07 +0000 (22:25 +1100)
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 <david@gibson.dropbear.id.au>
Makefile

index 90dca604b0f5649756b9de28fd60d9000cb6c603..dff3523002b052c441215772cd80818d0c990b5b 100644 (file)
--- 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)