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

Refine rebuild components

This commit is contained in:
winlin 2020-03-29 21:30:32 +08:00
parent 056fcd2928
commit 60d810693c
3 changed files with 24 additions and 20 deletions

View file

@ -603,6 +603,10 @@ if [[ $SRS_EXPORT_LIBRTMP_PROJECT == NO && $SRS_RTC == YES ]]; then
done
done
done &&
# We should remove some files(in .gitignore) to keep them in local generated.
(cd ffbuild && rm -f config.fate config.log config.mak config.sh .config) &&
(cd libavutil && rm -f lib.version libavutil.version ffversion.h avconfig.h) &&
(rm -rf doc && rm -f config.asm config.h libavcodec/libavcodec.version libswresample/libswresample.version) &&
# Build source code.
PKG_CONFIG_PATH=$ABS_OBJS/opus/lib/pkgconfig ./configure \
--prefix=`pwd`/${SRS_PLATFORM}/_release \