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:06:58 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-08-28 18:06:58 +0000
commit74e9f65431bf11763a11d1fca9f7f94cade9d99f (patch)
treea602dfe0affe36a883d4bbf2d1a4212b4693c4c7 /GNUmakefile
parent191fd7f1f7d80e6d9a99c1995777de56c3070e59 (diff)
downloadnetpbm-mirror-74e9f65431bf11763a11d1fca9f7f94cade9d99f.tar.gz
netpbm-mirror-74e9f65431bf11763a11d1fca9f7f94cade9d99f.tar.xz
netpbm-mirror-74e9f65431bf11763a11d1fca9f7f94cade9d99f.zip
Release 10.47.19
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@1279 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 4b01cec2..ae5893d7 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -265,10 +265,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),)