summaryrefslogtreecommitdiff
path: root/media-libs/netpbm/files/netpbm-10.51.00-underlinking.patch
blob: e161242c4402e80fdb26f7cb20ad320add9f5ea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 converter/other/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/converter/other/Makefile b/converter/other/Makefile
index 1417cd3..c178101 100644
--- a/converter/other/Makefile
+++ b/converter/other/Makefile
@@ -167,7 +167,7 @@ pngtopam: %: %.o pngx.o $(NETPBMLIB) $(LIBOPT)
 pnmtopng: %: %.o pngx.o pngtxt.o $(NETPBMLIB) $(LIBOPT)
 	$(LD) -o $@ $@.o pngx.o pngtxt.o \
 	  $(shell $(LIBOPT) $(NETPBMLIB)) \
-	  $(PNGLIB_LIBOPTS) $(MATHLIB) $(LDFLAGS) $(LDLIBS) $(RPATH) $(LADD)
+	  $(PNGLIB_LIBOPTS) $(MATHLIB) $(LDFLAGS) $(LDLIBS) $(RPATH) $(LADD) -lz
 
 pamrgbatopng: %: %.o $(NETPBMLIB) $(LIBOPT)
 	$(LD) -o $@ $@.o \