[evince] [windows/build] Add -mwindows flag for true Windows apps



commit 1603ac6503ecf60fcfb73baa9a2151b49bbab4b1
Author: Hib Eris <hib hiberis nl>
Date:   Tue Jun 9 11:20:17 2009 +0200

    [windows/build] Add -mwindows flag for true Windows apps

 previewer/Makefile.am   |    4 ++++
 shell/Makefile.am       |    4 ++++
 thumbnailer/Makefile.am |    4 ++++
 3 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/previewer/Makefile.am b/previewer/Makefile.am
index 785ffd5..6e716a6 100644
--- a/previewer/Makefile.am
+++ b/previewer/Makefile.am
@@ -22,6 +22,10 @@ evince_previewer_CFLAGS = \
         $(DISABLE_DEPRECATED)			\
 	$(AM_CFLAGS)
 
+if PLATFORM_WIN32
+evince_previewer_LDFLAGS = -mwindows
+endif
+
 evince_previewer_LDADD = \
 	$(top_builddir)/libdocument/libevdocument.la	\
 	$(top_builddir)/libview/libevview.la		\
diff --git a/shell/Makefile.am b/shell/Makefile.am
index 0594ac9..2b3b621 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -87,6 +87,10 @@ evince_SOURCES=				\
 	ev-sidebar-thumbnails.h		\
 	main.c
 
+if PLATFORM_WIN32
+evince_LDFLAGS = -mwindows
+endif
+
 evince_LDADD=										\
 	$(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la				\
 	$(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la			\
diff --git a/thumbnailer/Makefile.am b/thumbnailer/Makefile.am
index c7b3c85..e46d860 100644
--- a/thumbnailer/Makefile.am
+++ b/thumbnailer/Makefile.am
@@ -23,6 +23,10 @@ evince_thumbnailer_LDADD = \
 	$(top_builddir)/libdocument/libevdocument.la	\
 	$(FRONTEND_LIBS)
 
+if PLATFORM_WIN32
+evince_thumbnailer_LDFLAGS = -mwindows
+endif
+
 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]