[libvirt] [PATCH] Fix building virnetserverclientmock with MinGW

Signed-off-by: Pavel Fedin <p.fedin@samsung.com> Signed-off-by: Martin Kletzander <mkletzan@redhat.com> --- tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) 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

On Mon, Apr 27, 2015 at 04:03:55PM +0200, Martin Kletzander wrote:
Signed-off-by: Pavel Fedin <p.fedin@samsung.com> Signed-off-by: Martin Kletzander <mkletzan@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@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
participants (1)
-
Martin Kletzander