Hello.
Linux Arch + Lazarus 2.2.0 + Cross Win64
I am trying to statically link libcrypto.a and libssl.a
But when compiling I get an error "Undefined symbol: atexit" :'(
I wrote a demo project with which you can repeat this mistake.
To get libcrypto.a and libssl.a you need to compile OpenSSL 1.0.2:
./Configure mingw64 --cross-compile-prefix=x86_64-w64-mingw32- mingw64
make
the files will be in the root of the openssl directory, they need to be put in the directory with the project
Can someone suggest how to fix it?
thanks in advance.