You are not logged in.
Pages: 1
Hi ab , right now the static lib always gets linked even if using openssl instead, can we change this? I think {$define ECC_STATICLIB_AVAILABLE} should be moved to mormot.defines.inc or some other global switch should be made.
Offline
I don't see why a few KB of static ECC code may be an issue. Especially if you are using OpenSSL which is much bigger.
This static code is used as fallback if OpenSSL 1.1 is not available, which could be the case for a various number of reasons.
Offline
that's fine, don't care about the size, I wanted to create a lib (.so) using mormot2 and the linker complained that ../static/x86_64-linux/ecclin64O2.o wasn't compiled with -fPIC so needs to be recompiled. Since I couldn't find the source code it was easier to just switch to openssl to keep the linker happy.
Offline
thanks, that works!
Offline
Pages: 1