mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix utest fail
This commit is contained in:
parent
d0fd0c4639
commit
00a8eef580
2 changed files with 14 additions and 4 deletions
|
@ -118,7 +118,11 @@ done
|
|||
#
|
||||
# depends library header files
|
||||
for item in ${ModuleLibIncs[*]}; do
|
||||
echo -n "-I${SRS_TRUNK_PREFIX}/${item} " >> ${FILE}
|
||||
if [[ "${item:0:1}" == "/" ]]; then
|
||||
echo -n "-I${item} " >> ${FILE}
|
||||
else
|
||||
echo -n "-I${SRS_TRUNK_PREFIX}/${item} " >> ${FILE}
|
||||
fi
|
||||
done
|
||||
echo "" >> ${FILE}; echo "" >> ${FILE}
|
||||
|
||||
|
@ -164,10 +168,10 @@ echo "" >> ${FILE}
|
|||
echo "# link all depends libraries" >> ${FILE}
|
||||
echo -n "DEPS_LIBRARIES_FILES = " >> ${FILE}
|
||||
for item in ${ModuleLibFiles[*]}; do
|
||||
if [[ -f ${item} ]]; then
|
||||
echo -n "${SRS_TRUNK_PREFIX}/${item} " >> ${FILE}
|
||||
else
|
||||
if [[ "${item:0:1}" == "/" ]]; then
|
||||
echo -n "${item} " >> ${FILE}
|
||||
else
|
||||
echo -n "${SRS_TRUNK_PREFIX}/${item} " >> ${FILE}
|
||||
fi
|
||||
done
|
||||
echo "" >> ${FILE}; echo "" >> ${FILE}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue