winlin

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

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