mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
Merge branch 'develop' into feature/rtc
This commit is contained in:
commit
b1438bf52c
1 changed files with 9 additions and 1 deletions
|
@ -110,7 +110,11 @@ function Ubuntu_prepare()
|
|||
echo "The valgrind-dev is installed."
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
pkg-config --version >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
|
||||
echo "Please install pkg-config"; exit -1;
|
||||
fi
|
||||
|
||||
echo "Tools for Ubuntu are installed."
|
||||
return 0
|
||||
}
|
||||
|
@ -191,6 +195,10 @@ function Centos_prepare()
|
|||
echo "The valgrind-devel is installed."
|
||||
fi
|
||||
fi
|
||||
|
||||
pkg-config --version --help >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
|
||||
echo "Please install pkg-config"; exit -1;
|
||||
fi
|
||||
|
||||
echo "Tools for Centos are installed."
|
||||
return 0
|
||||
|
|
Loading…
Reference in a new issue