mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update version, add build date
This commit is contained in:
parent
0516ddc7cb
commit
263213d8b6
8 changed files with 1400 additions and 1342 deletions
25
trunk/auto/depends.sh
Normal file → Executable file
25
trunk/auto/depends.sh
Normal file → Executable file
|
@ -78,6 +78,31 @@ else
|
|||
echo "#undef SRS_HLS" >> $SRS_AUTO_HEADERS_H
|
||||
fi
|
||||
|
||||
#####################################################################################
|
||||
# cherrypy for http hooks callback, CherryPy-3.2.4
|
||||
#####################################################################################
|
||||
if [ $SRS_HTTP = YES ]; then
|
||||
if [[ -f ${SRS_OBJS}/CherryPy-3.2.4/setup.py ]]; then
|
||||
echo "CherryPy-3.2.4 is ok.";
|
||||
else
|
||||
echo "install CherryPy-3.2.4";
|
||||
(
|
||||
sudo rm -rf ${SRS_OBJS}/CherryPy-3.2.4 && cd ${SRS_OBJS} &&
|
||||
unzip -q ../3rdparty/CherryPy-3.2.4.zip && cd CherryPy-3.2.4 &&
|
||||
sudo python setup.py install
|
||||
)
|
||||
fi
|
||||
# check status
|
||||
ret=$?; if [[ $ret -ne 0 ]]; then echo "build CherryPy-3.2.4 failed, ret=$ret"; exit $ret; fi
|
||||
if [ ! -f ${SRS_OBJS}/nginx/sbin/nginx ]; then echo "build CherryPy-3.2.4 failed."; exit -1; fi
|
||||
fi
|
||||
|
||||
if [ $SRS_HTTP = YES ]; then
|
||||
echo "#define SRS_HTTP" >> $SRS_AUTO_HEADERS_H
|
||||
else
|
||||
echo "#undef SRS_HTTP" >> $SRS_AUTO_HEADERS_H
|
||||
fi
|
||||
|
||||
#####################################################################################
|
||||
# openssl, for rtmp complex handshake
|
||||
#####################################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue