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:
parent
654cde109d
commit
634fa27320
2 changed files with 8 additions and 5 deletions
8
trunk/configure
vendored
8
trunk/configure
vendored
|
@ -827,6 +827,14 @@ if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then
|
|||
done
|
||||
fi
|
||||
|
||||
#####################################################################################
|
||||
# Do cleanup when configure done.
|
||||
#####################################################################################
|
||||
if [[ $SRS_CLEAN == YES && -f Makefile ]]; then
|
||||
echo "Do full cleanup, you can disable it by: --without-clean"
|
||||
make clean
|
||||
fi
|
||||
|
||||
#####################################################################################
|
||||
# next step
|
||||
#####################################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue