Add "-lz" to link line to get in zlib.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 8 Apr 2005 22:31:19 +0000 (15:31 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 8 Apr 2005 22:31:19 +0000 (15:31 -0700)
Not all Linux distributions seem to need it (notably not YDL on ppc64), but
enough ones obviously do.

Makefile

index 99ff6d6d6ff54826fa4e3d05d56a9f28a817fa9e..2b483560f570ff710455380d3a199cb50ac1e527 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ all: $(PROG)
 install: $(PROG)
        install $(PROG) $(HOME)/bin/
 
-LIBS= -lssl
+LIBS= -lssl -lz
 
 init-db: init-db.o