[evince] Append LDFLAGS



commit 6b0627d3a1dd1b8cbe56a6d86b26402d431b3989
Author: Christian Persch <chpe gnome org>
Date:   Mon Jun 15 12:24:18 2009 +0200

    Append LDFLAGS
    
    Don't replace LDFLAGS, just append to them.

 previewer/Makefile.am   |    4 +++-
 shell/Makefile.am       |    4 +++-
 thumbnailer/Makefile.am |   10 ++++++----
 3 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/previewer/Makefile.am b/previewer/Makefile.am
index 6e716a6..3744c62 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 2b3b621..acca9b9 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 e46d860..adc5bd4 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 \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]