OpenSSL has the configuration option shlib_variant, so we can use that instead.
This works for version 1.x and 3.x, so it would make the build script more similar between the two versions.
Also, this avoid issues that can come from patchelf, as this patch comes after a bug found in patchelf 0.18 that created wrongly aligned libraries. See https://github.com/NixOS/patchelf/issues/492.
* The script now supports zsh and bash to allow building from macOS and
Linux with builtin zsh and bash version 3 or 4.
* It now uses curl instead of wget, wget is not builtin on macOS.
* Use the default NDk path from the Android SDK.
* Allow to set custom build and output folders.
* The various build folders for each version are now kept around under
the 'build' folder.
* At the same time add the build folder to .gitignore.
* Create relative symlinks #61.
Changes include:
* Rename CMakeLists.txt to android_openssl.cmake
* Move the CMake code into a function android_add_openssl_to_targets(), so that the caller can decide what targets get the OpenSSL libs
* update README
- Nuke the support for super old Qt versions
- Simplify a lot openssl.pri and CMakeLists.txt
- Use latest OpenSSL 1.1.1 version
- Add OpenSSL 3.x support needed for Qt 6.5
Close: #25, #36, #37, #39