summaryrefslogtreecommitdiff
path: root/emulators/xmess/patches/patch-ab
blob: fb1fadbf0745fd5cd5cf60c5d4e3c90f588ce047 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ab,v 1.19 2004/11/27 01:31:20 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 $@...'