changeset 6394:8f0261c525d8

Fix tools::netpbm libpng-1.2.8's `libpng-config --ldflags` included "-lz -lm". libpng-1.2.53's `libpng-config --ldflags` doesn't include "-lz -lm".
author Masamichi Hosoda <trueroad@users.noreply.github.com>
date Sat, 21 Mar 2015 20:55:18 +0900
parents a0073109b692
children 32b05e13eefe
files gub/specs/netpbm.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/netpbm.py	Thu Mar 19 22:51:22 2015 +0900
+++ b/gub/specs/netpbm.py	Sat Mar 21 20:55:18 2015 +0900
@@ -19,7 +19,7 @@
 CC=gcc
 CFLAGS='-O2 -fPIC -flax-vector-conversions'
 LDFLAGS='%(rpath)s -L%(builddir)s/pbm -L%(builddir)s/pgm -L%(builddir)s/pnm -L%(builddir)s/ppm'
-LADD=-lm
+LADD='-lm -lz'
 LINUXSVGALIB=NONE
 XML2LD=NONE
 XML2_LIBS=NONE