If golang is not available, ./configure --disable-golang.

This is so even if you have golang installed, it doesn't get built
and cause a package build failure.
This commit is contained in:
Richard W.M. Jones 2014-07-23 22:54:37 +01:00
parent 65ec8061c2
commit 5f751f5601

View File

@ -763,6 +763,9 @@ fi
--with-extra="fedora=%{fedora},release=%{release},libvirt" \ --with-extra="fedora=%{fedora},release=%{release},libvirt" \
--with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \ --with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \
--enable-install-daemon \ --enable-install-daemon \
%ifnarch %{golang_arches}
--disable-golang \
%endif
$extra $extra
# 'INSTALLDIRS' ensures that Perl and Ruby libs are installed in the # 'INSTALLDIRS' ensures that Perl and Ruby libs are installed in the