summaryrefslogtreecommitdiff
path: root/network/irda-utils/patches/Makefile.smcinit.diff
blob: fc2e6182ee617e44cb28815f86af1973f0dfeafa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- smcinit/Makefile~	2007-06-11 21:06:06.000000000 +0200
+++ smcinit/Makefile	2007-06-11 21:06:39.000000000 +0200
@@ -26,17 +26,17 @@
 
 smcinit: smcinit.o
 	$(prn_cc_o)
-	$(ECMD)$(CC) -o $@ $^ $(LIBS) -lpci
+	$(ECMD)$(CC) -o $@ $^ $(LIBS) -lpci -lz
 
 
 tosh1800-smcinit: tosh1800-smcinit.o
 	$(prn_cc_o)
-	$(ECMD)$(CC) $(XCFLAGS) -o $@ $^ $(LIBS) -lpci
+	$(ECMD)$(CC) $(XCFLAGS) -o $@ $^ $(LIBS) -lpci -lz
 
 
 tosh2450-smcinit: tosh2450-smcinit.o
 	$(prn_cc_o)
-	$(ECMD)$(CC) $(XCFLAGS) -o $@ $^ $(LIBS) -lpci
+	$(ECMD)$(CC) $(XCFLAGS) -o $@ $^ $(LIBS) -lpci -lz
 
 
 %o: %c