mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
BUILD: Compatible with 3.0 options, ignore it
This commit is contained in:
parent
a40abf8df2
commit
0905558d49
1 changed files with 8 additions and 8 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue