File irda-libpci_with_libz.diff of Package irda

--- smcinit/Makefile
+++ smcinit/Makefile
@@ -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