[libvirt] [PATCH] Fix building virnetserverclientmock with MinGW

Michal Privoznik mprivozn at redhat.com
Tue Apr 28 14:45:40 UTC 2015


On 28.04.2015 13:15, Martin Kletzander wrote:
> Signed-off-by: Pavel Fedin <p.fedin at samsung.com>
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
> 
> Notes:
>     This was a part of commit 9dc57ce2, but separable; plus the library
>     should be in LIBADD and not LDFLAGS.  Depends on my previous cleanup [2]
>     
>     [1] https://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=9dc57ce2
>     [2] https://www.redhat.com/archives/libvir-list/2015-April/msg01336.html
>     
>     v2: Use LIBADD instead of LDADDS (which doesn't even exist)
> 
>  tests/Makefile.am | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index dc7daaa..8e2dbec 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -931,6 +931,7 @@ virnetserverclientmock_la_SOURCES = \
>  	virnetserverclientmock.c
>  virnetserverclientmock_la_CFLAGS = $(AM_CFLAGS)
>  virnetserverclientmock_la_LDFLAGS = $(MOCKLIBS_LDFLAGS)
> +virnetserverclientmock_la_LIBADD = $(GNULIB_LIBS)
> 
>  if WITH_GNUTLS
>  virnettlscontexttest_SOURCES = \
> 

ACK

Michal




More information about the libvir-list mailing list