CURL_NETWORK_AND_TIME_LIBS include pthread lib

https://github.com/curl/curl/actions/runs/15798836575/job/44534457368?pr=17696

For OpenBSD and FreeBSD CI jobs
This commit is contained in:
Viktor Szakats 2025-06-21 21:50:53 +02:00
parent 59035d356e
commit b5b923763f
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -633,7 +633,7 @@ elseif(AMIGA)
elseif(NOT APPLE)
check_library_exists("socket" "connect" "" HAVE_LIBSOCKET)
if(HAVE_LIBSOCKET)
set(CURL_NETWORK_AND_TIME_LIBS "socket" ${CURL_LIBS})
set(CURL_NETWORK_AND_TIME_LIBS "socket" ${CURL_NETWORK_AND_TIME_LIBS})
endif()
endif()