mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Disable openssl thread support to prevent ubuntu linking pthread error
This commit is contained in:
parent
764cf245e9
commit
a6582c6208
2 changed files with 3 additions and 3 deletions
2
trunk/configure
vendored
2
trunk/configure
vendored
|
@ -130,7 +130,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
|
||||
if [ $SRS_GPERF_MD = YES ]; then LibGperfFile="${SRS_OBJS_DIR}/gperf/lib/libtcmalloc_debug.a"; fi
|
||||
# the link options, always use static link
|
||||
SrsLinkOptions="-lpthread -ldl";
|
||||
SrsLinkOptions="-ldl";
|
||||
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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue