From 6ff193c98928957f54554f7b4dc0b54a002b2e3d Mon Sep 17 00:00:00 2001 From: winlin Date: Fri, 20 Jun 2014 10:40:06 +0800 Subject: [PATCH] donot need to yum install pkg-config, for centos always installed it --- trunk/auto/depends.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/trunk/auto/depends.sh b/trunk/auto/depends.sh index dd38c2bfa..957b4e00b 100755 --- a/trunk/auto/depends.sh +++ b/trunk/auto/depends.sh @@ -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.