Build as a "GUI" executable on Windows to avoid console windows that annoy
authorTor Lillqvist <tml@novell.com>
Tue, 27 Jan 2009 23:24:13 +0000 (23:24 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 27 Jan 2009 23:24:13 +0000 (23:24 +0000)
2009-01-28  Tor Lillqvist  <tml@novell.com>

* src/Makefile.am (evolution_data_server_LDFLAGS): Build as a
"GUI" executable on Windows to avoid console windows that annoy
end-users.

svn path=/trunk/; revision=9978

ChangeLog
src/Makefile.am

index c177759..c4a8980 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-28  Tor Lillqvist  <tml@novell.com>
+
+       * src/Makefile.am (evolution_data_server_LDFLAGS): Build as a
+       "GUI" executable on Windows to avoid console windows that annoy
+       end-users.
+
 2009-01-21  Ross Burton  <ross@linux.intel.com>
 
        * configure.in:
index 07263a8..ab778d8 100644 (file)
@@ -59,6 +59,10 @@ evolution_data_server_LDADD =                                        \
         $(E_FACTORY_LIBS)                                              \
        $(E_DATA_SERVER_LIBS)
 
+if OS_WIN32
+evolution_data_server_LDFLAGS = -mwindows
+endif
+
 install-evolution-data-servers:
        $(mkinstalldirs) $(DESTDIR)$(libexecdir)
        $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) evolution-data-server@EXEEXT@ $(DESTDIR)$(libexecdir)/evolution-data-server-$(BASE_VERSION)@EXEEXT@