1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

fix bug of package for arm

This commit is contained in:
winlin 2014-04-07 16:56:45 +08:00
parent 5fd582cd26
commit 503fb93d4e

View file

@ -504,7 +504,10 @@ if [ $SRS_FFMPEG = YES ]; then
if [ ! -f ${SRS_OBJS}/ffmpeg/bin/ffmpeg ]; then echo "build ffmpeg-2.1 failed."; exit -1; fi
fi
if [ $SRS_FFMPEG = YES ]; then
__SRS_FFMPEG=NO
if [ $SRS_TRANSCODE = YES ]; then __SRS_FFMPEG=YES; fi
if [ $SRS_INGEST = YES ]; then __SRS_FFMPEG=YES;fi
if [ $__SRS_FFMPEG = YES ]; then
echo "#define SRS_FFMPEG" >> $SRS_AUTO_HEADERS_H
else
echo "#undef SRS_FFMPEG" >> $SRS_AUTO_HEADERS_H