|
|
|
@ -128,7 +128,7 @@ END
|
|
|
|
|
LibSTRoot="${SRS_OBJS_DIR}/st"; LibSTfile="${LibSTRoot}/libst.a"
|
|
|
|
|
# openssl-1.1.0e, for the RTMP complex handshake.
|
|
|
|
|
LibSSLRoot="";LibSSLfile=""
|
|
|
|
|
if [ $SRS_SSL = YES && $SRS_USE_SYS_SSL = NO ]; then
|
|
|
|
|
if [[ $SRS_SSL == YES && $SRS_USE_SYS_SSL == NO ]]; then
|
|
|
|
|
LibSSLRoot="${SRS_OBJS_DIR}/openssl/include"; LibSSLfile="${SRS_OBJS_DIR}/openssl/lib/libssl.a ${SRS_OBJS_DIR}/openssl/lib/libcrypto.a";
|
|
|
|
|
fi
|
|
|
|
|
# gperftools-2.1, for mem check and mem/cpu profile
|
|
|
|
@ -141,7 +141,7 @@ if [ $SRS_GPERF_MD = YES ]; then
|
|
|
|
|
fi
|
|
|
|
|
# the link options, always use static link
|
|
|
|
|
SrsLinkOptions="-ldl";
|
|
|
|
|
if [ $SRS_SSL = YES && $SRS_USE_SYS_SSL = YES ]; then
|
|
|
|
|
if [[ $SRS_SSL == YES && $SRS_USE_SYS_SSL == YES ]]; then
|
|
|
|
|
SrsLinkOptions="${SrsLinkOptions} -lssl -lcrypto";
|
|
|
|
|
fi
|
|
|
|
|
# if static specified, add static
|
|
|
|
|