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:
parent
bcb719bf18
commit
a6f4815994
4 changed files with 25 additions and 16 deletions
2
trunk/configure
vendored
2
trunk/configure
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue