test-delta needs zlib to compile
authorNicolas Pitre <nico@cam.org>
Wed, 8 Mar 2006 18:19:19 +0000 (13:19 -0500)
committerJunio C Hamano <junkio@cox.net>
Thu, 9 Mar 2006 09:35:07 +0000 (01:35 -0800)
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index 1c555da..cd2c2db 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -564,7 +564,7 @@ test-date$X: test-date.c date.o ctype.o
        $(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) test-date.c date.o ctype.o
 
 test-delta$X: test-delta.c diff-delta.o patch-delta.o
-       $(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $^
+       $(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $^ -lz
 
 check:
        for i in *.c; do sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; done