mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 20:01:56 +00:00
Always link with pthread
This commit is contained in:
parent
4ef1acb700
commit
d8e27c3845
1 changed files with 1 additions and 5 deletions
6
trunk/configure
vendored
6
trunk/configure
vendored
|
@ -170,11 +170,7 @@ if [[ $SRS_SRT == YES ]]; then
|
|||
fi
|
||||
|
||||
# the link options, always use static link
|
||||
SrsLinkOptions="-ldl";
|
||||
if [[ $SRS_SRT == YES || $SRS_RTC == YES ]]; then
|
||||
SrsLinkOptions="${SrsLinkOptions} -lpthread";
|
||||
fi
|
||||
|
||||
SrsLinkOptions="-ldl -lpthread";
|
||||
if [[ $SRS_SSL == YES && $SRS_USE_SYS_SSL == YES ]]; then
|
||||
SrsLinkOptions="${SrsLinkOptions} -lssl -lcrypto";
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue