[libvirt] [PATCH] Fix building virnetserverclientmock with MinGW

Martin Kletzander mkletzan at redhat.com
Mon Apr 27 14:09:39 UTC 2015


On Mon, Apr 27, 2015 at 04:03:55PM +0200, Martin Kletzander wrote:
>Signed-off-by: Pavel Fedin <p.fedin at samsung.com>
>Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
>---
> tests/Makefile.am | 1 +
> 1 file changed, 1 insertion(+)
>

I used send-email and forgot to format the patch, so here are the
notes that I missed:

This was a part of commit 9dc57ce2, but separable; plus the library
should be in LDADDS 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


>diff --git a/tests/Makefile.am b/tests/Makefile.am
>index dc7daaa..e3ba12b 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_LDADDS = $(GNULIB_LIBS)
>
> if WITH_GNUTLS
> virnettlscontexttest_SOURCES = \
>-- 
>2.3.6
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150427/f39451df/attachment-0001.sig>


More information about the libvir-list mailing list