1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Refine configure cleanup script

This commit is contained in:
winlin 2020-04-04 18:47:12 +08:00
parent 654cde109d
commit 634fa27320
2 changed files with 8 additions and 5 deletions

View file

@ -10,11 +10,6 @@ if [[ ${SRS_BUILD_TAG} != "" ]]; then
fi
echo "SRS_WORKDIR: ${SRS_WORKDIR}, SRS_OBJS_DIR: ${SRS_OBJS_DIR}, SRS_OBJS: ${SRS_OBJS}, SRS_PLATFORM: ${SRS_PLATFORM}"
if [[ $SRS_CLEAN == YES && -f Makefile ]]; then
echo "Do full cleanup, you can disable it by: --without-clean"
make clean
fi
# For src object files on each platform.
(
mkdir -p ${SRS_OBJS_DIR} && cd ${SRS_OBJS_DIR} &&