mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
BUILD: Compatible with 3.0 options, ignore it
This commit is contained in:
parent
b847a0a218
commit
dd13889772
1 changed files with 4 additions and 3 deletions
|
@ -666,14 +666,15 @@ if [ $SRS_FFMPEG_TOOL = YES ]; then
|
||||||
if [[ -f ${SRS_OBJS}/${SRS_PLATFORM}/ffmpeg/bin/ffmpeg ]]; then
|
if [[ -f ${SRS_OBJS}/${SRS_PLATFORM}/ffmpeg/bin/ffmpeg ]]; then
|
||||||
echo "ffmpeg-4.1 is ok.";
|
echo "ffmpeg-4.1 is ok.";
|
||||||
else
|
else
|
||||||
echo "Error: no FFmpeg found at /usr/local/bin/ffmpeg";
|
echo "Warning: No FFmpeg found at /usr/local/bin/ffmpeg";
|
||||||
echo " please copy it from srs-docker";
|
echo " please copy it from srs-docker";
|
||||||
echo " or download from http://ffmpeg.org/download.html";
|
echo " or download from http://ffmpeg.org/download.html";
|
||||||
echo " or disable it by --without-ffmpeg";
|
echo " or disable it by --without-ffmpeg";
|
||||||
exit -1;
|
|
||||||
fi
|
fi
|
||||||
# Always update the links.
|
# Always update the links.
|
||||||
(cd ${SRS_OBJS} && rm -rf ffmpeg && ln -sf ${SRS_PLATFORM}/ffmpeg)
|
if [[ -f ${SRS_OBJS}/${SRS_PLATFORM}/ffmpeg ]]; then
|
||||||
|
(cd ${SRS_OBJS} && rm -rf ffmpeg && ln -sf ${SRS_PLATFORM}/ffmpeg)
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#####################################################################################
|
#####################################################################################
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue