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

Build: Support sys-ssl for srt. v5.0.184 v6.0.82 (#3806)

support sys-ssl for srt

---------

Co-authored-by: john <hondaxiao@tencent.com>
This commit is contained in:
Haibo Chen 2023-09-21 23:04:38 +08:00 committed by GitHub
parent c5e067fb0b
commit fbb8c16496
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View file

@ -682,7 +682,7 @@ if [[ $SRS_SRT == YES ]]; then
rm -rf ${SRS_OBJS}/srt && cp -rf ${SRS_OBJS}/${SRS_PLATFORM}/3rdparty/srt ${SRS_OBJS}/ &&
echo "libsrt-1-fit is ok."
else
if [[ ! -d ${SRS_OBJS}/openssl/lib/pkgconfig ]]; then
if [[ $SRS_USE_SYS_SSL != YES && ! -d ${SRS_OBJS}/openssl/lib/pkgconfig ]]; then
echo "OpenSSL pkgconfig no found, build srt-1-fit failed."
exit -1
fi