[virt-tools-list] [PATCH virt-viewer 5/5] win32: don't show console when running app
Marc-André Lureau
marcandre.lureau at gmail.com
Fri Mar 30 01:37:45 UTC 2012
---
src/Makefile.am | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index ba0a8bf..ad31c4e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,7 @@
NULL =
LDADD =
MAINTAINERCLEANFILES =
+AM_LDFLAGS =
bin_PROGRAMS =
builderxmldir = $(pkgdatadir)/ui
@@ -55,6 +56,7 @@ virt_viewer_SOURCES = \
virt-viewer-main.c \
$(NULL)
virt_viewer_LDFLAGS = \
+ $(AM_LDFLAGS) \
$(GLIB2_LIBS) \
$(GTK_LIBS) \
$(LIBXML2_LIBS) \
@@ -87,6 +89,7 @@ remote_viewer_SOURCES = \
remote-viewer-main.c \
$(NULL)
remote_viewer_LDFLAGS = \
+ $(AM_LDFLAGS) \
$(GLIB2_LIBS) \
$(GTK_LIBS) \
$(LIBXML2_LIBS) \
@@ -114,6 +117,8 @@ MANIFESTDIR = $(srcdir)
EXTRA_DIST += $(VIRT_VIEWER_RES)
if OS_WIN32
+AM_LDFLAGS += -Wl,--subsystem,windows
+
virt-viewer_rc.$(OBJEXT): $(VIRT_VIEWER_RES) $(top_builddir)/icons/virt-viewer.ico
$(AM_V_GEN)$(WINDRES) \
-DICONDIR='\"$(ICONDIR)\"' \
--
1.7.7.6
More information about the virt-tools-list
mailing list