On Wed, Aug 14, 2024 at 23:40:20 +0200, Ján Tomko wrote:
> Also disable it immediately for the mingw build because it's not
> available there.
> 
> Signed-off-by: Ján Tomko <[email protected]>
> ---
>  libvirt.spec.in   | 1 +
>  meson.build       | 7 +++++++
>  meson_options.txt | 1 +
>  3 files changed, 9 insertions(+)
> 
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index 29101e74fe..ad0f4f784f 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -1441,6 +1441,7 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' 
> %{_specdir}/libvirt.spec)
>    -Dfuse=disabled \
>    -Dglusterfs=disabled \
>    -Dhost_validate=disabled \
> +  -Djson_c=disabled \
>    -Dlibiscsi=disabled \
>    -Dnbdkit=disabled \
>    -Dnbdkit_config_default=disabled \

I'd prefer if you also disable this in the 'native' build and enable it
afterwards so that it doesn't depend on auto-detection meanwhile.

Reviewed-by: Peter Krempa <[email protected]>

Reply via email to