mirror of
https://github.com/izzy2lost/android_openssl.git
synced 2026-06-19 01:20:12 -07:00
Add some notes about the build script to README.md
This commit is contained in:
committed by
Assam Boudjelthia
parent
3df6b5f37c
commit
4c2f6daad9
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user