Author: Andreas Tille <tille@debian.org>
LastChanged: Tue, 23 Jul 2013 08:46:18 +0200
BugClosed: http://bugs.debian.org/632163
Description: Avoid useless linking against GTK library for command line tool
 and library

--- a/source/Makefile.am
+++ b/source/Makefile.am
@@ -204,7 +204,7 @@ libmdc_la_SOURCES = $(ENABLED_FRMTS_SRCS
 
 libmdc_la_LDFLAGS = $(no_undefined) -version-info $(LIBVERSION) -lm
 libmdc_la_LIBADD = $(DICM_LIB) $(LJPG_LIB) \
-                   $(ZLIB_LIB) $(PNG_LIB) \
+                   $(PNG_LIB) \
                    $(NIFTI_LIB) \
                    $(TPC_LIB) \
                    $(XMEDCON_GLIB_LIBS)
