[evolution-exchange/gnome-2-28] Build relevant binaries on Windows as Windows and not console applications



commit fb60454ea35c90adb2e63df9ffe1cec92f9018bb
Author: Fridrich Strba <fridrich strba bluewin ch>
Date:   Mon Mar 8 21:13:04 2010 +0100

    Build relevant binaries on Windows as Windows and not console applications

 storage/Makefile.am |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/storage/Makefile.am b/storage/Makefile.am
index 610df7b..74c9bb7 100644
--- a/storage/Makefile.am
+++ b/storage/Makefile.am
@@ -48,6 +48,10 @@ evolution_exchange_storage_LDADD = \
 	$(LIBEXCHANGE_LIBS) \
 	$(SOCKET_LIBS)
 
+if OS_WIN32
+evolution_exchange_storage_LDFLAGS = -mwindows
+endif
+
 
 exchange_connector_setup_SOURCES = \
 	ximian-connector-setup.c \
@@ -60,6 +64,10 @@ exchange_connector_setup_LDADD = \
 	$(EXCHANGE_STORAGE_LIBS) \
 	$(LIBEXCHANGE_LIBS)
 
+if OS_WIN32
+exchange_connector_setup_LDFLAGS = -mwindows
+endif
+
 install-exec-local: exchange-connector-setup EXEEXT@
 	$(mkinstalldirs) $(DESTDIR)$(bindir)
 	$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) exchange-connector-setup EXEEXT@ $(DESTDIR)$(bindir)/exchange-connector-setup-$(BASE_VERSION)@EXEEXT@



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]