libvirt: fix !x86_64 builds.
This commit is contained in:
parent
462952c7d4
commit
22654c1740
1 changed files with 4 additions and 1 deletions
|
@ -23,9 +23,12 @@ makedepends="readline-devel>=6.3 libcap-ng-devel libnl3-devel attr-devel
|
|||
libpciaccess-devel avahi-libs-devel polkit-devel yajl-devel
|
||||
python-devel libssh2-devel libcap-ng-devel fuse-devel"
|
||||
|
||||
if [ "$XBPS_MACHINE" = "i686" -o "$XBPS_MACHINE" = "x86_64" ]; then
|
||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||
configure_args+=" --with-xen"
|
||||
makedepends+=" libnuma-devel xen-devel"
|
||||
elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||
configure_args+=" --without-xen"
|
||||
makedepends+=" libnuma-devel"
|
||||
else
|
||||
configure_args+=" --without-xen"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue