$NetBSD: patch-ab,v 1.30 2004/11/27 01:30:40 kristerw Exp $ --- src/unix/unix.mak.orig Mon Nov 22 00:09:03 2004 +++ src/unix/unix.mak Mon Nov 22 00:12:39 2004 @@ -545,11 +545,11 @@ romcmp: $(OBJ)/romcmp.o $(OBJ)/unzip.o $(ZLIB) $(CC_COMMENT) @echo 'Linking $@...' - $(CC_COMPILE) $(LD) $(LDFLAGS) $^ $(LIBS) -o $@ + $(CC_COMPILE) $(LD) $(LDFLAGS) $^ -lz $(LIBS) -o $@ chdman: $(OBJ)/chdman.o $(OBJ)/chd.o $(OBJ)/chdcd.o $(OBJ)/md5.o $(OBJ)/sha1.o $(OBJ)/version.o $(ZLIB) $(CC_COMMENT) @echo 'Linking $@...' - $(CC_COMPILE) $(LD) $(LDFLAGS) $^ $(LIBS) -o $@ + $(CC_COMPILE) $(LD) $(LDFLAGS) $^ -lz $(LIBS) -o $@ xml2info: $(OBJ)/xml2info.o $(EXPAT) $(CC_COMMENT) @echo 'Linking $@...'