mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-02-08 05:57:29 +03:00
build-sys: fix Windows specific LDFLAGS on non-mingw
This commit is contained in:
parent
edf1715a2e
commit
95e42b9cec
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user