mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
check what a fuck os for some fresh.
This commit is contained in:
parent
8a4312f4ec
commit
f3e5431d0f
1 changed files with 13 additions and 0 deletions
|
@ -368,6 +368,19 @@ if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then
|
|||
OSX_prepare; ret=$?; if [[ 0 -ne $ret ]]; then echo "OSX prepare failed, ret=$ret"; exit $ret; fi
|
||||
fi
|
||||
|
||||
#####################################################################################
|
||||
# check the os.
|
||||
#####################################################################################
|
||||
# user must specifies something what a fuck, we suppport following os:
|
||||
# centos/ubuntu/osx,
|
||||
# embeded system, for example, mips or arm,
|
||||
# export srs-librtmp
|
||||
# others is invalid.
|
||||
if [[ $OS_IS_UBUNTU = NO && $OS_IS_CENTOS = NO && $OS_IS_OSX = NO && $SRS_EMBEDED_CPU = NO && $SRS_EXPORT_LIBRTMP_PROJECT = NO ]]; then
|
||||
echo "what a fuck, os not supported."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#####################################################################################
|
||||
# st-1.9
|
||||
#####################################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue