I want to compile openSSL 1.1.1c as DLLs without dependency on the visual C runtimes. For openSSL 1.0.2 it was enough to patch the ntdll.mak (after configuring) replacing /MD with /MT.
For openSSL 1.1.1c many tests (from several categories) fail when I change /MD to /MT in the makefile and the configdata.pm after perl configure VC-WIN32
. Without patching the files both compile and test are OK.
Using the no-shared in configure is no option either as it doesn't create the DLLs.
Maybe I'm just missing a configure option?
In case it matters: I'm using Strawberry Perl 5.28.0.1 Portable, NASM 2.14.02 and MS VC2017 Enterprise.
P.S. I'm aware of the binaries linked from https://stackoverflow.com/a/35494745/2131459 but at least the OpenSSL 1.1.1 versions of "32-Bit Release Static Library" appear to also depend on vcruntime140.dll (according to depends.exe)