[MBEDTLS] Don't link with zlib, we don't use it. CORE-14290

This commit is contained in:
Thomas Faber 2018-02-03 14:37:22 +01:00
parent dc51b419c7
commit 25bca520f5
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -84,7 +84,6 @@ add_library(mbedtls SHARED
${CMAKE_CURRENT_BINARY_DIR}/mbedtls.def)
set_module_type(mbedtls win32dll)
target_link_libraries(mbedtls zlib)
add_importlibs(mbedtls advapi32 msvcrt kernel32 ntdll)
# to use `_vsnprintf_s` looks like we have to define MINGW_HAS_SECURE_API