No dll when building mbedtls with MinGW
I'm trying to compile the mbedtls dll in windows 10 32bit. I manage to build with:
make CC=gcc WINDOWS_BUILD=1
But I can't find the dll.
Then I tried:
make USE_SHARED_MBEDTLS_LIBRARY=On CC=gcc WINDOWS_BUILD=1
But no dll.
What should I do to build the dll?
Thank you in advance!
USE_SHARED_MBEDTLS_LIBRARY is a parameter given to the cmake build. In addition, the
WINDOWS_BUILDis defined internally in library/Makefile if
WINDOWS is defined.
In order to build your *.dll files with mingw, run the following command:
make CC=gcc WINDOWS=1 SHARED=1
Mbed TLS Team member