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

SRT: Fix typo in libsrt build options (#2943)

the cmake option is ENABLE_APPS, so we should use --disable-apps or --enable-apps=0. this commit fixes the typo.
This commit is contained in:
everything411 2022-03-12 18:34:30 +08:00 committed by GitHub
parent 67ccd589c1
commit d6ead6c0c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -812,7 +812,7 @@ if [[ $SRS_SRT == YES ]]; then
exit -1;
fi
# Always disable c++11 for libsrt, because only the srt-app requres it.
LIBSRT_OPTIONS="--disable-app --enable-static --enable-c++11=0"
LIBSRT_OPTIONS="--disable-apps --enable-static --enable-c++11=0"
if [[ $SRS_SHARED_SRT == YES ]]; then
LIBSRT_OPTIONS="$LIBSRT_OPTIONS --enable-shared=1"
else