diff options
author | Hib Eris <hib@hiberis.nl> | 2009-06-09 09:20:17 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-06-15 08:50:51 (GMT) |
commit | 1603ac6503ecf60fcfb73baa9a2151b49bbab4b1 (patch) | |
tree | 856900544116531dd761dd51812be5209a1e114d | |
parent | b627470cf06994f1f376206bc597af63762d75f4 (diff) |
[windows/build] Add -mwindows flag for true Windows apps
-rw-r--r-- | previewer/Makefile.am | 4 | ||||
-rw-r--r-- | shell/Makefile.am | 4 | ||||
-rw-r--r-- | 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 \ |