[Spice-devel] [vdagent-win] Fix mingw compilation

Arnon Gilboa agilboa at redhat.com
Thu Nov 15 03:51:08 PST 2012


ack

Christophe Fergeau wrote:
> This got broken with the recent code moves from vdservice to vdagent.
> ---
>  Makefile.am | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index b050aff..9b73def 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -20,7 +20,7 @@ LIBS = -lversion
>  
>  bin_PROGRAMS = vdagent vdservice
>  
> -vdagent_LDADD = $(CXIMAGE_LIBS) vdagent_rc.$(OBJEXT)
> +vdagent_LDADD = -lwtsapi32 $(CXIMAGE_LIBS) vdagent_rc.$(OBJEXT)
>  vdagent_CXXFLAGS = $(AM_CXXFLAGS) $(CXIMAGE_CFLAGS)
>  vdagent_LDFLAGS = $(AM_LDFLAGS) -Wl,--subsystem,windows
>  vdagent_SOURCES =			\
> @@ -31,7 +31,13 @@ vdagent_SOURCES =			\
>  	vdagent/desktop_layout.h	\
>  	vdagent/display_setting.cpp	\
>  	vdagent/display_setting.h	\
> +	vdagent/pci_vdi_port.cpp	\
> +	vdagent/pci_vdi_port.h		\
>  	vdagent/vdagent.cpp		\
> +	vdagent/vdi_port.cpp		\
> +	vdagent/vdi_port.h		\
> +	vdagent/virtio_vdi_port.cpp	\
> +	vdagent/virtio_vdi_port.h	\
>  	$(NULL)
>  
>  vdagent_rc.$(OBJEXT): vdagent/vdagent.rc
> @@ -45,13 +51,7 @@ vdservice_SOURCES =			\
>  	common/vdcommon.h		\
>  	common/vdlog.cpp		\
>  	common/vdlog.h			\
> -	vdservice/pci_vdi_port.cpp	\
> -	vdservice/pci_vdi_port.h	\
> -	vdservice/vdi_port.cpp		\
> -	vdservice/vdi_port.h		\
>  	vdservice/vdservice.cpp		\
> -	vdservice/virtio_vdi_port.cpp	\
> -	vdservice/virtio_vdi_port.h	\
>  	$(NULL)
>  
>  vdservice_rc.$(OBJEXT): vdservice/vdservice.rc
>   



More information about the Spice-devel mailing list