add --exclude='glibc32*' for Fedora ./installdeps

This should fix possible problems with the glibc32 package being
sometimes erroneously pulled in in rawhide when installing 32 bit devel
libs.
This commit is contained in:
Rafael Kitover 2017-02-16 05:21:40 -08:00
parent 92e3a826a4
commit b0b0ad08ca
1 changed files with 4 additions and 0 deletions

View File

@ -260,6 +260,10 @@ fedora_installdeps() {
set --
if [ -z "$target" ]; then
# try to install both 64 bit and 32 bit versions on 64 bit hosts (see below)
if [ -n "$amd64" ]; then
# this is sometimes necessary for rawhide
set -- --exclude='glibc32*'
fi
for pkg in zlib-devel mesa-libGL-devel ffmpeg-devel gettext-devel libjpeg-turbo-devel libpng-devel libtiff-devel SDL2-devel SFML-devel openal-soft-devel wxGTK3-devel; do
if [ -n "$amd64" ]; then
set -- "$@" "${pkg}.x86_64" "${pkg}.i686"