Skip to content

Commit d552da6

Browse files
committed
curl.sh: limit iphlpapi workaround for 8.11.1 [ci skip]
Follow-up to 082d98b curl/curl@3e552ef curl/curl#16089
1 parent 20f9324 commit d552da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

curl.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ _VER="$1"
307307
options+=" -DCARES_INCLUDE_DIR=${_TOP}/cares/${_PP}/include"
308308
options+=" -DCARES_LIBRARY=${_TOP}/cares/${_PP}/lib/libcares.a"
309309
CPPFLAGS+=' -DCARES_STATICLIB'
310-
if [ "${_OS}" = 'win' ]; then
310+
if [ "${CURL_VER_}" = '8.11.1' ] && [ "${_OS}" = 'win' ]; then
311311
LIBS+=' -liphlpapi'
312312
fi
313313
fi

0 commit comments

Comments
 (0)