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 99ff6d6..2b48356 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