Always link with pthread
This commit is contained in:
parent
1f621a6db3
commit
61eeb781b7
6
trunk/configure
vendored
6
trunk/configure
vendored
|
|
@ -170,11 +170,7 @@ if [[ $SRS_SRT == YES ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# the link options, always use static link
|
# the link options, always use static link
|
||||||
SrsLinkOptions="-ldl";
|
SrsLinkOptions="-ldl -lpthread";
|
||||||
if [[ $SRS_SRT == YES || $SRS_RTC == YES ]]; then
|
|
||||||
SrsLinkOptions="${SrsLinkOptions} -lpthread";
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $SRS_SSL == YES && $SRS_USE_SYS_SSL == YES ]]; then
|
if [[ $SRS_SSL == YES && $SRS_USE_SYS_SSL == YES ]]; then
|
||||||
SrsLinkOptions="${SrsLinkOptions} -lssl -lcrypto";
|
SrsLinkOptions="${SrsLinkOptions} -lssl -lcrypto";
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user