]> www.fi.muni.cz Git - evince.git/commitdiff
[windows/build] Add -mwindows flag for true Windows apps
authorHib Eris <hib@hiberis.nl>
Tue, 9 Jun 2009 09:20:17 +0000 (11:20 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Mon, 15 Jun 2009 08:50:51 +0000 (10:50 +0200)
previewer/Makefile.am
shell/Makefile.am
thumbnailer/Makefile.am

index 785ffd5877b56af09621949ab0a11c5687ef862a..6e716a6ec085372d9d285c191a5359224cc76aa3 100644 (file)
@@ -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            \
index 0594ac961a1fe4ee2b15095d4202ec98f9a94447..2b3b6217171e05c85dd531d41c0cef500596d751 100644 (file)
@@ -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                  \
index c7b3c85ca77614e2ffd6dcd3974c33b7d61c9e30..e46d86024a7a681c0c0cf373f5bbb0825a1bc9f5 100644 (file)
@@ -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 \