mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Build with --without-capng if capng is disabled
* libvirt.spec: pass --without-capng if appropriate
This commit is contained in:
parent
b55501c00c
commit
7311161340
@ -318,6 +318,10 @@ of recent versions of Linux (and other OSes).
|
|||||||
%define _without_numactl --without-numactl
|
%define _without_numactl --without-numactl
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if ! %{with_capng}
|
||||||
|
%define _without_capng --without-capng
|
||||||
|
%endif
|
||||||
|
|
||||||
%configure %{?_without_xen} \
|
%configure %{?_without_xen} \
|
||||||
%{?_without_qemu} \
|
%{?_without_qemu} \
|
||||||
%{?_without_openvz} \
|
%{?_without_openvz} \
|
||||||
@ -337,6 +341,7 @@ of recent versions of Linux (and other OSes).
|
|||||||
%{?_without_storage_iscsi} \
|
%{?_without_storage_iscsi} \
|
||||||
%{?_without_storage_disk} \
|
%{?_without_storage_disk} \
|
||||||
%{?_without_numactl} \
|
%{?_without_numactl} \
|
||||||
|
%{?_without_capng} \
|
||||||
--with-qemu-user=%{qemu_user} \
|
--with-qemu-user=%{qemu_user} \
|
||||||
--with-qemu-group=%{qemu_group} \
|
--with-qemu-group=%{qemu_group} \
|
||||||
--with-init-script=redhat \
|
--with-init-script=redhat \
|
||||||
|
Loading…
Reference in New Issue
Block a user