Re: [libvirt PATCH] tests: fix compiling tests with minGW

2021-07-22 Thread Pavel Hrdina
On Thu, Jul 22, 2021 at 02:54:57PM +0200, Michal Prívozník wrote: > On 7/22/21 12:24 PM, Pavel Hrdina wrote: > > We need to mock virQEMUCapsGetKVMSupportsSecureGuest only if compiling > > with QEMU otherwise compilation will fail with error: > > > >

Re: [libvirt PATCH] tests: fix compiling tests with minGW

2021-07-22 Thread Michal Prívozník
On 7/22/21 12:24 PM, Pavel Hrdina wrote: > We need to mock virQEMUCapsGetKVMSupportsSecureGuest only if compiling > with QEMU otherwise compilation will fail with error: > > /usr/lib/gcc/i686-w64-mingw32/11.1.1/../../../../i686-w64-mingw32/bin/ld: >

[libvirt PATCH] tests: fix compiling tests with minGW

2021-07-22 Thread Pavel Hrdina
We need to mock virQEMUCapsGetKVMSupportsSecureGuest only if compiling with QEMU otherwise compilation will fail with error: /usr/lib/gcc/i686-w64-mingw32/11.1.1/../../../../i686-w64-mingw32/bin/ld: tests/libdomaincapsmock.dll.p/domaincapsmock.c.obj: in function