mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-31 22:45:45 +00:00
fix c-ares link dep
This commit is contained in:
+1
-1
@@ -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
@@ -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 ()
|
||||
|
||||
Reference in New Issue
Block a user