about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other')
-rw-r--r--converter/other/Makefile5
1 files changed, 4 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