[PATCH] Fix building virnetserverclientmock with MinGW

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Pavel Fedin <p.fedin@xxxxxxxxxxx>
Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---

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 = \
-- 
2.3.6

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]