On Fri, 2018-07-20 at 11:33 +0100, Daniel P. Berrangé wrote:
On Fri, Jul 20, 2018 at 12:24:50PM +0200, Ján Tomko wrote:
> I do not oppose reverting this bit and failing by default if we don't
> have a JSON library (as Andrea mentioned, more drivers might possibly
> require a working JSON implementation).
We use virjson.h throughout src/util and src/rpc so that code is
not even driver specific, however, there are not currently mingw
pacakges for jansson in Fedora at least. Maybe it will work, but
we would need someone todo the work to add that to Fedora before
we can consider making this mandatory.
So does the MinGW build work at all without jansson, considering its
functionality is fairly reduced in scope compared to the Unix builds?
Either way, at least Arch seems to have a MinGW package for it:
https://aur.archlinux.org/packages/mingw-w64-jansson/
so it's probably just a matter of sitting down, coming up with a
suitable .spec and getting it into Fedora.
--
Andrea Bolognani / Red Hat / Virtualization