File: avoid_linking_to_unneeded_libs.patch

package info (click to toggle)
xmedcon 0.23.0-gtk3%2Bdfsg-1%2Bdeb12u2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,168 kB
  • sloc: ansic: 42,295; makefile: 393; sh: 74; xml: 31
file content (17 lines) | stat: -rw-r--r-- 633 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)