From 75f4b567667b9460693dcc6ea3a1a99d547a8cee Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Mon, 22 Jan 2018 14:49:09 +0000 Subject: [PATCH] build: Correctly build and link ptr_valid. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 4d627c582..39b194e05 100644 --- a/Makefile +++ b/Makefile @@ -65,6 +65,7 @@ CCAN_OBJS := \ ccan-opt-usage.o \ ccan-opt.o \ ccan-pipecmd.o \ + ccan-ptr_valid.o \ ccan-read_write_all.o \ ccan-str-hex.o \ ccan-str.o \ @@ -431,6 +432,8 @@ ccan-asort.o: $(CCANDIR)/ccan/asort/asort.c $(CC) $(CFLAGS) -c -o $@ $< ccan-autodata.o: $(CCANDIR)/ccan/autodata/autodata.c $(CC) $(CFLAGS) -c -o $@ $< +ccan-ptr_valid.o: $(CCANDIR)/ccan/ptr_valid/ptr_valid.c + $(CC) $(CFLAGS) -c -o $@ $< ccan-read_write_all.o: $(CCANDIR)/ccan/read_write_all/read_write_all.c $(CC) $(CFLAGS) -c -o $@ $< ccan-str.o: $(CCANDIR)/ccan/str/str.c