mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #324, refine code, add hstrs config.
This commit is contained in:
parent
2adc069df0
commit
6d15d0ea99
15 changed files with 97 additions and 50 deletions
22
trunk/configure
vendored
22
trunk/configure
vendored
|
@ -15,17 +15,6 @@ GREEN="\\033[32m"
|
|||
YELLOW="\\033[33m"
|
||||
BLACK="\\033[0m"
|
||||
|
||||
# clean the exists, when not export srs-librtmp.
|
||||
# do this only when the options is ok.
|
||||
if [[ -f Makefile ]]; then
|
||||
make clean
|
||||
fi
|
||||
# remove makefile
|
||||
rm -f ${SRS_WORKDIR}/${SRS_MAKEFILE}
|
||||
|
||||
# create objs
|
||||
mkdir -p ${SRS_OBJS}
|
||||
|
||||
#####################################################################################
|
||||
# parse user options, set the variables like:
|
||||
# srs features: SRS_SSL/SRS_HLS/SRS_NGINX/SRS_FFMPEG_TOOL/SRS_HTTP_CALLBACK/......
|
||||
|
@ -34,6 +23,17 @@ mkdir -p ${SRS_OBJS}
|
|||
# parse options, exit with error when parse options invalid.
|
||||
. auto/options.sh
|
||||
|
||||
# clean the exists, when not export srs-librtmp.
|
||||
# do this only when the options is ok.
|
||||
if [[ -f Makefile ]]; then
|
||||
make clean
|
||||
fi
|
||||
# remove makefile
|
||||
rm -f ${SRS_WORKDIR}/${SRS_MAKEFILE}
|
||||
|
||||
# create objs
|
||||
mkdir -p ${SRS_OBJS}
|
||||
|
||||
# for export srs-librtmp, change target to it.
|
||||
. auto/generate-srs-librtmp-project.sh
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue