about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--converter/other/Makefile5
-rw-r--r--doc/HISTORY3
2 files changed, 7 insertions, 1 deletions
diff --git a/converter/other/Makefile b/converter/other/Makefile
index 61272ab0..db171517 100644
--- a/converter/other/Makefile
+++ b/converter/other/Makefile
@@ -117,7 +117,10 @@ endif
 
 MERGEBINARIES = $(BINARIES)
 
-EXTRA_OBJECTS = exif.o rast.o pngtxt.o bmepsoe.o
+EXTRA_OBJECTS = exif.o rast.o bmepsoe.o
+ifeq ($(HAVE_PNGLIB),Y)
+  EXTRA_OBJECTS += pngtxt.o
+endif
 ifneq ($(JPEGLIB),NONE)
   EXTRA_OBJECTS += jpegdatasource.o
 endif
diff --git a/doc/HISTORY b/doc/HISTORY
index 8680adab..ad751b84 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -11,6 +11,9 @@ not yet  BJH  Release 10.48.00
               Add pbmtocis, cistopbm.  Thanks John Elliott
               <jce@seasip.demon.co.uk>.
 
+              Build: fix failure of a merge build on a system that doesn't
+              have the PNG library.
+
 09.06.27 BJH  Release 10.47.00
 
               Add pamsistoaglyph.  Thanks Scott Pakin.