check what a fuck os for some fresh.
This commit is contained in:
parent
8a4312f4ec
commit
f3e5431d0f
|
|
@ -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
|
OSX_prepare; ret=$?; if [[ 0 -ne $ret ]]; then echo "OSX prepare failed, ret=$ret"; exit $ret; fi
|
||||||
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
|
# st-1.9
|
||||||
#####################################################################################
|
#####################################################################################
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user