[PATCH win-agent 6/9] mingw: compile a non-console binary

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

 



Otherwise, a console dialog pops up
---
 Makefile.am |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index a2d2dae..05c4983 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,8 @@ INCLUDES =				\
 	$(SPICE_PROTOCOL_CFLAGS)	\
 	$(NULL)
 
-AM_CPPFLAGS=-DUNICODE -D_UNICODE
+AM_CPPFLAGS = -DUNICODE -D_UNICODE
+AM_LDFLAGS = -Wl,--subsystem,windows
 # -lversion is needed for the GetFileVersion* API which is used by vdlog.cpp
 LIBS = -lversion
 
-- 
1.7.10.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]