mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Update build script
This commit is contained in:
parent
573449f1b0
commit
c5c0df6536
3 changed files with 4 additions and 4 deletions
|
@ -636,7 +636,7 @@ if [[ $SRS_EXPORT_LIBRTMP_PROJECT == NO && $SRS_RTC == YES ]]; then
|
||||||
# check status
|
# check status
|
||||||
ret=$?; if [[ $ret -ne 0 ]]; then echo "Build ffmpeg-4.2-fit failed, ret=$ret"; exit $ret; fi
|
ret=$?; if [[ $ret -ne 0 ]]; then echo "Build ffmpeg-4.2-fit failed, ret=$ret"; exit $ret; fi
|
||||||
# Always update the links.
|
# Always update the links.
|
||||||
(cd ${SRS_OBJS} && rm -f ffmpeg && ln -sf ${SRS_PLATFORM}/ffmpeg-4.2-fit/${SRS_PLATFORM}/_release ffmpeg)
|
(cd ${SRS_OBJS} && rm -rf ffmpeg && ln -sf ${SRS_PLATFORM}/ffmpeg-4.2-fit/${SRS_PLATFORM}/_release ffmpeg)
|
||||||
if [ ! -f ${SRS_OBJS}/ffmpeg/lib/libavcodec.a ]; then echo "Build ffmpeg-4.2-fit failed."; exit -1; fi
|
if [ ! -f ${SRS_OBJS}/ffmpeg/lib/libavcodec.a ]; then echo "Build ffmpeg-4.2-fit failed."; exit -1; fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
#define RTMP_SIG_SRS_SERVER RTMP_SIG_SRS_KEY "/" RTMP_SIG_SRS_VERSION "(" RTMP_SIG_SRS_CODE ")"
|
#define RTMP_SIG_SRS_SERVER RTMP_SIG_SRS_KEY "/" RTMP_SIG_SRS_VERSION "(" RTMP_SIG_SRS_CODE ")"
|
||||||
|
|
||||||
// The current stable release.
|
// The current stable release.
|
||||||
#define VERSION_STABLE 2
|
#define VERSION_STABLE 3
|
||||||
#define VERSION_STABLE_BRANCH SRS_XSTR(VERSION_STABLE)".0release"
|
#define VERSION_STABLE_BRANCH SRS_XSTR(VERSION_STABLE)".0release"
|
||||||
|
|
||||||
// For 32bit os, 2G big file limit for unistd io,
|
// For 32bit os, 2G big file limit for unistd io,
|
||||||
|
|
|
@ -337,8 +337,8 @@ void show_macro_features()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if VERSION_MAJOR > VERSION_STABLE
|
#if VERSION_MAJOR > VERSION_STABLE
|
||||||
#warning "Current branch is beta."
|
#warning "Current branch is develop."
|
||||||
srs_warn("%s/%s is beta", RTMP_SIG_SRS_KEY, RTMP_SIG_SRS_VERSION);
|
srs_warn("%s/%s is develop", RTMP_SIG_SRS_KEY, RTMP_SIG_SRS_VERSION);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(SRS_PERF_SO_SNDBUF_SIZE) && !defined(SRS_PERF_MW_SO_SNDBUF)
|
#if defined(SRS_PERF_SO_SNDBUF_SIZE) && !defined(SRS_PERF_MW_SO_SNDBUF)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue