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

use local openssl and link libssl.a

This commit is contained in:
winlin 2014-02-28 22:42:25 +08:00
parent bcb719bf18
commit a6f4815994
4 changed files with 25 additions and 16 deletions

2
trunk/configure vendored
View file

@ -151,7 +151,7 @@ fi
# all depends objects
MODULE_OBJS="${CORE_OBJS[@]} ${CONFIG_OBJS[@]} ${PROTOCOL_OBJS[@]} ${MAIN_OBJS[@]}"
if [ $SRS_SSL = YES ]; then
LINK_OPTIONS="-ldl -lssl -lcrypto"
LINK_OPTIONS="-ldl ${SRS_OBJS}/openssl/lib/libssl.a ${SRS_OBJS}/openssl/lib/libcrypto.a"
else
LINK_OPTIONS="-ldl"
fi