Add some notes about the build script to README.md

This commit is contained in:
Assam Boudjelthia
2023-06-19 21:38:19 +03:00
committed by Assam Boudjelthia
parent 3df6b5f37c
commit 4c2f6daad9
2 changed files with 21 additions and 0 deletions
+15
View File
@@ -22,3 +22,18 @@ if (ANDROID)
include(<path/to/android_openssl/CMakeLists.txt)
endif()
```
## Build Script
The build script `build_ssl.sh` can be used to rebuild the OpenSSL libraries. Since specific
versions might depend or work better with specific NDK versions, the OpenSSL<==>NDK version
combinations are defined in the script. Before running the script, check that the NDK paths
are correct for your environment.
### Build Prerequisites
Both Linux, macOS need `patchelf` command when building for OpenSSL 3+.
Additionally, for macOS you need:
- `bash` shell version 4+ is required
- `wget` command
+6
View File
@@ -1,5 +1,11 @@
#!/bin/bash
## Prerequisites
## On both Linux, macOS: 'patchelf' command is needed for OpenSSL 3+
## On macOS:
## - bash shell version 4+ is required
## - wget command
BUILD_DIR=$(pwd)
# Comment out the line for any configuration you don't want to build