fix c-ares link dep

This commit is contained in:
DDoSolitary
2022-06-26 06:22:56 +08:00
committed by Max Lv
parent 549b9bedb9
commit 05e70d4317
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ dnl Add library for mingw
case $host in
*-mingw*)
CFLAGS="$CFLAGS -mno-ms-bitfields"
LIBS="$LIBS -lws2_32"
LIBS="$LIBS -lws2_32 -liphlpapi"
;;
*-cygwin*)
CFLAGS="$CFLAGS -mno-ms-bitfields"
+1 -1
View File
@@ -117,7 +117,7 @@ list(APPEND DEPS
)
if (MINGW)
list(APPEND DEPS ws2_32)
list(APPEND DEPS ws2_32 iphlpapi)
add_compile_definitions(CARES_STATICLIB PCRE_STATIC)
endif ()
endif ()