build-sys: fix Windows specific LDFLAGS on non-mingw

This commit is contained in:
Christophe Fergeau 2012-04-03 14:07:21 +02:00 committed by Marc-André Lureau
parent edf1715a2e
commit 95e42b9cec

View File

@ -87,7 +87,6 @@ remote_viewer_SOURCES = \
remote-viewer-main.c \
$(NULL)
remote_viewer_LDFLAGS = \
-Wl,--subsystem,windows \
$(GLIB2_LIBS) \
$(GTK_LIBS) \
$(LIBXML2_LIBS) \
@ -108,6 +107,9 @@ if HAVE_SPICE_GTK
remote_viewer_LDFLAGS += $(SPICE_GTK_LIBS) $(SPICE_CONTROLLER_LIBS)
remote_viewer_CFLAGS += $(SPICE_GTK_CFLAGS) $(SPICE_CONTROLLER_CFLAGS)
endif
if OS_WIN32
remote_viewer_LDFLAGS += -Wl,--subsystem,windows
endif
VIRT_VIEWER_RES = virt-viewer.rc virt-viewer.manifest
ICONDIR = $(top_builddir)/icons