mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-16 23:54:02 +00:00
Fix static linking issues on Windows.
This commit is contained in:
@@ -115,8 +115,10 @@ list(APPEND DEPS
|
||||
${LIBMBEDTLS}
|
||||
${LIBMBEDCRYPTO}
|
||||
)
|
||||
|
||||
if (MINGW)
|
||||
list(APPEND DEPS ws2_32)
|
||||
add_compile_definitions(CARES_STATICLIB PCRE_STATIC)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user