1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00

BUILD: Compatible with 3.0 options, ignore it

This commit is contained in:
winlin 2020-08-03 19:28:52 +08:00
parent a40abf8df2
commit 0905558d49

View file

@ -488,24 +488,24 @@ function apply_detail_options() {
# if specified export single file, export project first. # if specified export single file, export project first.
if [ $SRS_EXPORT_LIBRTMP_SINGLE != NO ]; then if [ $SRS_EXPORT_LIBRTMP_SINGLE != NO ]; then
echo "Not support --export-librtmp-single" echo "Warning: Ingore --export-librtmp-single"
exit -1 SRS_EXPORT_LIBRTMP_SINGLE=NO
fi fi
# disable almost all features for export srs-librtmp. # disable almost all features for export srs-librtmp.
if [ $SRS_EXPORT_LIBRTMP_PROJECT != NO ]; then if [ $SRS_EXPORT_LIBRTMP_PROJECT != NO ]; then
echo "Not support --export-librtmp-project" echo "Warning: Ingore --export-librtmp-project"
exit -1 SRS_EXPORT_LIBRTMP_PROJECT=NO
fi fi
if [[ $SRS_LIBRTMP != NO ]]; then if [[ $SRS_LIBRTMP != NO ]]; then
echo "Not support --librtmp" echo "Warning: Ingore --librtmp"
exit -1 SRS_LIBRTMP=NO
fi fi
if [[ $SRS_RESEARCH != NO ]]; then if [[ $SRS_RESEARCH != NO ]]; then
echo "Not support --research" echo "Warning: Ingore --research"
exit -1 SRS_RESEARCH=NO
fi fi
if [[ $SRS_SRTP_ASM == YES && $SRS_RTC == NO ]]; then if [[ $SRS_SRTP_ASM == YES && $SRS_RTC == NO ]]; then