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

Fix random build failed bug for modules.

This commit is contained in:
winlin 2019-12-19 14:30:34 +08:00
parent d7078a72d4
commit 1e4f22f83d
2 changed files with 10 additions and 2 deletions

9
trunk/configure vendored
View file

@ -83,6 +83,13 @@ for SRS_MODULE in ${SRS_MODULES[*]}; do
fi
done
# generate extra phony for each modules.
cat << END > ${SRS_OBJS}/${SRS_MAKEFILE}
.PHONY: $__mphonys
END
#####################################################################################
# build tools or compiler args.
# enable gdb debug
@ -112,7 +119,7 @@ if [[ $SRS_GCOV == YES ]]; then
CXXFLAGS="${CXXFLAGS} ${SrsGcov}";
fi
# Start to generate the Makefile.
cat << END > ${SRS_OBJS}/${SRS_MAKEFILE}
cat << END >> ${SRS_OBJS}/${SRS_MAKEFILE}
GCC = gcc
CXX = g++
AR = ar