From: Christian Persch Date: Mon, 15 Jun 2009 10:24:18 +0000 (+0200) Subject: Append LDFLAGS X-Git-Tag: EVINCE_2_27_3~3 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=6b0627d3a1dd1b8cbe56a6d86b26402d431b3989;p=evince.git Append LDFLAGS Don't replace LDFLAGS, just append to them. --- diff --git a/previewer/Makefile.am b/previewer/Makefile.am index 6e716a6e..3744c628 100644 --- a/previewer/Makefile.am +++ b/previewer/Makefile.am @@ -22,8 +22,10 @@ evince_previewer_CFLAGS = \ $(DISABLE_DEPRECATED) \ $(AM_CFLAGS) +evince_previewer_LDFLAGS = $(AM_LDFLAGS) + if PLATFORM_WIN32 -evince_previewer_LDFLAGS = -mwindows +evince_previewer_LDFLAGS += -mwindows endif evince_previewer_LDADD = \ diff --git a/shell/Makefile.am b/shell/Makefile.am index 2b3b6217..acca9b9d 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -87,8 +87,10 @@ evince_SOURCES= \ ev-sidebar-thumbnails.h \ main.c +evince_LDFLAGS = $(AM_LDFLAGS) + if PLATFORM_WIN32 -evince_LDFLAGS = -mwindows +evince_LDFLAGS += -mwindows endif evince_LDADD= \ diff --git a/thumbnailer/Makefile.am b/thumbnailer/Makefile.am index e46d8602..adc5bd4d 100644 --- a/thumbnailer/Makefile.am +++ b/thumbnailer/Makefile.am @@ -19,14 +19,16 @@ evince_thumbnailer_CFLAGS = \ $(WARN_CFLAGS) \ $(AM_CFLAGS) -evince_thumbnailer_LDADD = \ - $(top_builddir)/libdocument/libevdocument.la \ - $(FRONTEND_LIBS) +evince_thumbnailer_LDFLAGS = $(AM_LDFLAGS) if PLATFORM_WIN32 -evince_thumbnailer_LDFLAGS = -mwindows +evince_thumbnailer_LDFLAGS += -mwindows endif +evince_thumbnailer_LDADD = \ + $(top_builddir)/libdocument/libevdocument.la \ + $(FRONTEND_LIBS) + schema_files = \ evince-thumbnailer-dvi.schemas.in \ evince-thumbnailer-djvu.schemas.in \