netpbm/netpbm-lz.patch

13 lines
632 B
Diff
Raw Normal View History

2010-08-30 09:28:17 +00:00
diff -up netpbm-10.47.19/converter/other/Makefile.lz netpbm-10.47.19/converter/other/Makefile
--- netpbm-10.47.19/converter/other/Makefile.lz 2010-08-30 08:34:55.000000000 +0200
+++ netpbm-10.47.19/converter/other/Makefile 2010-08-30 08:36:06.854139407 +0200
2010-02-18 08:21:43 +00:00
@@ -151,7 +151,7 @@ tifftopnm pamtotiff pnmtotiffcmyk: %: %.
2010-08-30 09:28:17 +00:00
ifeq ($(shell libpng$(PNGVER)-config --version),)
2010-02-18 08:21:43 +00:00
PNGLIB_LIBOPTS = $(shell $(LIBOPT) $(LIBOPTR) $(PNGLIB) $(ZLIB))
else
2010-08-30 09:28:17 +00:00
- PNGLIB_LIBOPTS = $(shell libpng$(PNGVER)-config --ldflags)
+ PNGLIB_LIBOPTS = $(shell libpng$(PNGVER)-config --ldflags) -lz
2010-02-18 08:21:43 +00:00
endif
pngtopnm pngtopam: %: %.o $(NETPBMLIB) $(LIBOPT)