1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +00:00

donot need to yum install pkg-config, for centos always installed it

This commit is contained in:
winlin 2014-06-20 10:40:06 +08:00
parent 94e5e7070d
commit 6ff193c989

View file

@ -210,14 +210,6 @@ function Centos_prepare()
sudo yum install -y zlib-devel; ret=$?; if [[ 0 -ne $ret ]]; then return $ret; fi
echo "install zlib-devel success"
fi
# for freetype2
pkg-config --help >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
echo "install pkg-config"
require_sudoer "sudo yum install -y pkg-config"
sudo yum install -y pkg-config; ret=$?; if [[ 0 -ne $ret ]]; then return $ret; fi
echo "install pkg-config success"
fi
fi
# for arm, install the cross build tool chain.