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:
parent
65ec8061c2
commit
5f751f5601
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user