1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

for #155, osx(darwin) enable http api and stat, rusage is ok.

This commit is contained in:
winlin 2015-03-17 22:35:47 +08:00
parent ab673e1300
commit cf3becbc17
3 changed files with 5 additions and 12 deletions

View file

@ -266,17 +266,8 @@ function OSX_prepare()
echo "OSX detected, must specifies the --osx"
exit 1
fi
# TODO: FIXME: support following features.
if [ $SRS_HTTP_API = YES ]; then
echo "OSX does not support http-api, use --without-http-api"
exit 1
fi
if [ $SRS_STAT = YES ]; then
echo "OSX does not support stat, use --without-stat"
exit 1
fi
fi
brew --help >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
echo "install brew"
echo "ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\""