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:
parent
94e5e7070d
commit
6ff193c989
1 changed files with 0 additions and 8 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue