From: Hib Eris Date: Tue, 9 Jun 2009 09:20:17 +0000 (+0200) Subject: [windows/build] Add -mwindows flag for true Windows apps X-Git-Tag: EVINCE_2_27_3~6 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=1603ac6503ecf60fcfb73baa9a2151b49bbab4b1;p=evince.git [windows/build] Add -mwindows flag for true Windows apps --- diff --git a/previewer/Makefile.am b/previewer/Makefile.am index 785ffd58..6e716a6e 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 0594ac96..2b3b6217 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 c7b3c85c..e46d8602 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 \