This folder is just to try compiling OpenSSL 0.9.8zh für x86-64 and arm64.
It requires a manual change in 'Configuration' to be able to build.
That's because that version is outdated, and doesn't containt a build configuration for darwin64-arm64.
So don't use this for production!
- Extract the downloaded openssl-0.9.8zh.tar.gz
- Search for the line in
Configuration
containing:
darwin64-x86_64-cc
- duplicate that line
- in that duplicated line: replace the following:
darwin64-x86_64-cc -> darwin64-arm64-cc arch x86_64 -> arch arm64
- Copy the modified file
Configuration
next to thebuild.sh
and rename it toConfigure_098_arm64
- Note:
build.sh
will replace the Configuration with your modified version for the arm64 build.
Note: The OpenSSL API is different in 0.9.8 compared to 1.1.x and 3.0.x.
Even just getting the OpenSSL Version requires different calls...
See the example project, which includes several OpenSSL Versions.