about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-08-28 18:01:59 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-08-28 18:01:59 +0000
commit46641785764d952eae9a9393aa7bcf6d128cb486 (patch)
treee7961d4cad41e7cee1c842e4b9058ce2e10359d0 /GNUmakefile
parent17830f0c122c8914b2b569ee5dc6a3091017be88 (diff)
downloadnetpbm-mirror-46641785764d952eae9a9393aa7bcf6d128cb486.tar.gz
netpbm-mirror-46641785764d952eae9a9393aa7bcf6d128cb486.tar.xz
netpbm-mirror-46641785764d952eae9a9393aa7bcf6d128cb486.zip
fix PNGVER
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1278 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 780ec870..cc90672c 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -270,10 +270,10 @@ ifneq ($(X11LIB),NONE)
   MERGELIBS += $(X11LIB)
 endif
 
-ifeq ($(shell libpng-config --version),)
+ifeq ($(shell libpng$(PNGVER)-config --version),)
   PNGLD = $(shell $(LIBOPT) $(LIBOPTR) $(PNGLIB) $(ZLIB))
 else
-  PNGLD = $(shell libpng-config --ldflags)
+  PNGLD = $(shell libpng$(PNGVER)-config --ldflags)
 endif
 
 ifeq ($(shell xml2-config --version),)