]> www.fi.muni.cz Git - evince.git/commitdiff
Append LDFLAGS
authorChristian Persch <chpe@gnome.org>
Mon, 15 Jun 2009 10:24:18 +0000 (12:24 +0200)
committerChristian Persch <chpe@gnome.org>
Mon, 15 Jun 2009 10:24:18 +0000 (12:24 +0200)
Don't replace LDFLAGS, just append to them.

previewer/Makefile.am
shell/Makefile.am
thumbnailer/Makefile.am

index 6e716a6ec085372d9d285c191a5359224cc76aa3..3744c628ebe83bef1ac4cf993db12ab1772fa002 100644 (file)
@@ -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 = \
index 2b3b6217171e05c85dd531d41c0cef500596d751..acca9b9d28fa2e14a12beeb410fb3755d2e72883 100644 (file)
@@ -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=                                                                          \
index e46d86024a7a681c0c0cf373f5bbb0825a1bc9f5..adc5bd4d946f2fa83c6dc6a62287cbb019bb9281 100644 (file)
@@ -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 \