mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
link crypto when use sys-ssl
This commit is contained in:
parent
53d2eb5e02
commit
92fb81003c
1 changed files with 1 additions and 1 deletions
2
trunk/configure
vendored
2
trunk/configure
vendored
|
@ -127,7 +127,7 @@ LibGperfRoot=""; LibGperfFile=""
|
|||
if [ $SRS_GPERF = YES ]; then LibGperfRoot="${SRS_OBJS_DIR}/gperf/include"; LibGperfFile="${SRS_OBJS_DIR}/gperf/lib/libtcmalloc_and_profiler.a"; fi
|
||||
# the link options, always use static link
|
||||
SrsLinkOptions="-ldl";
|
||||
if [ $SRS_SSL = YES ]; then if [ $SRS_USE_SYS_SSL = YES ]; then SrsLinkOptions="${SrsLinkOptions} -lssl"; fi fi
|
||||
if [ $SRS_SSL = YES ]; then if [ $SRS_USE_SYS_SSL = YES ]; then SrsLinkOptions="${SrsLinkOptions} -lssl -lcrypto"; fi fi
|
||||
# if static specified, add static
|
||||
# TODO: FIXME: remove static.
|
||||
if [ $SRS_STATIC = YES ]; then SrsLinkOptions="${SrsLinkOptions} -static"; fi
|
||||
|
|
Loading…
Reference in a new issue