Commit fe0282b7 authored by Simon Morlat's avatar Simon Morlat

Set MbdeTLS to build statically on windows.

Indeed, the CMakeLists.txt files provided by ARM don't support dll
(there is no export).
So that that's the best solution to avoid to maintain our own patches to
the build system.
parent f3f21050
......@@ -59,6 +59,10 @@ if(NOT LINPHONE_BUILDER_ADDITIONAL_CONFIG_STEPS)
set(LINPHONE_BUILDER_ADDITIONAL_CONFIG_STEPS "${CMAKE_CURRENT_LIST_DIR}/desktop/additional_steps.cmake")
endif()
if (MSVC)
lcb_builder_linking_type(mbedtls "-DUSE_STATIC_MBEDTLS_LIBRARY=YES" "-DUSE_SHARED_MBEDTLS_LIBRARY=NO")
endif()
if(APPLE)
set(DEFAULT_VALUE_CMAKE_LINKING_TYPE "-DENABLE_SHARED=NO" "-DENABLE_STATIC=YES")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment