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

Merge branch '4.0release' into develop

This commit is contained in:
winlin 2020-03-29 17:36:33 +08:00
commit 6935bb18ae
5 changed files with 8 additions and 10 deletions

View file

@ -350,10 +350,10 @@ if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then
ln -sf .src/$file $file;
done &&
# Link source files under .src/xxx, the first child dir.
for dir in `(cd .src && find . -type d|grep '\./'|grep -v Linux|grep -v Darwin)`; do
for dir in `(cd .src && find . -maxdepth 1 -type d|grep '\./'|grep -v Linux|grep -v Darwin)`; do
mkdir -p $dir &&
for file in `(cd .src/$dir && find . -maxdepth 1 -type f ! -name '*.o' ! -name '*.d')`; do
ln -sf .src/$dir/$file $dir/$file;
ln -sf ../.src/$dir/$file $dir/$file;
done;
done &&
# Build source code.