# [PATCH] test-delta needs zlib to compile

1 messages from 2006-03-08 to 2006-03-08. Participants: Nicolas Pitre.
Thread: https://gitlist.dev/t/3600

## Nicolas Pitre, 2006-03-08 18:19

Subject: [PATCH] test-delta needs zlib to compile
Message-ID: <Pine.LNX.4.64.0603081317280.1859@localhost.localdomain>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0603081317280.1859%40localhost.localdomain

```

Signed-off-by: Nicolas Pitre <nico@cam.org>

---

diff --git a/Makefile b/Makefile
index a5eb0c4..89d67d6 100644
--- a/Makefile
+++ b/Makefile
@@ -565,7 +565,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

```
