From d8e27c3845aa3f261196419ef0e1180a5cf8c853 Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 15 Feb 2021 19:47:02 +0800 Subject: [PATCH] Always link with pthread --- trunk/configure | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/trunk/configure b/trunk/configure index c49825233..4dd1d99ae 100755 --- a/trunk/configure +++ b/trunk/configure @@ -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