mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
update to build guide for OpenSSL changes
This commit is contained in:
parent
25016ef157
commit
9ed98c1d97
1 changed files with 13 additions and 2 deletions
|
@ -4,8 +4,9 @@ Please read the [general build guide](BUILD.md) for information on dependencies
|
|||
|
||||
You will need the following tools to build our Android targets.
|
||||
|
||||
* [Android NDK](https://developer.android.com/tools/sdk/ndk/index.html) ~> r10c
|
||||
* [Android SDK](http://developer.android.com/sdk/installing/index.html) = 4.4.2 (API Level 19)
|
||||
* [Android NDK](https://developer.android.com/tools/sdk/ndk/index.html) = r10c
|
||||
* [Android SDK](http://developer.android.com/sdk/installing/index.html) ~> 24.0.2
|
||||
* Be sure to install SDK Platform for API Level 19
|
||||
|
||||
You will also need to cross-compile the dependencies required for all platforms for Android, and help CMake find these compiled libraries on your machine.
|
||||
|
||||
|
@ -35,6 +36,16 @@ First, make sure `ANDROID_NDK_ROOT` is set in your env. This should be the path
|
|||
|
||||
Execute the `setenv-android.sh` script so it can set environment variables that OpenSSL will use while compiling.
|
||||
|
||||
We have had issues with `setenv-android.sh` not helping the system use the Android archive tool during compilation. You may also need to set `AR` to point to the `ar` from your NDK AFTER running ./setenv-android.sh.
|
||||
|
||||
Note that your path to `arm-linux-androideabi-ar` will probably not be the same as the one below if you are not on OS X or are using a different EABI.
|
||||
|
||||
```
|
||||
export ANDROID_NDK_ROOT=YOUR_NDK_ROOT
|
||||
./setenv-android.sh
|
||||
export AR=$ANDROID_NDK_ROOT_/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ar
|
||||
```
|
||||
|
||||
Then, from the OpenSSL directory, run the following commands.
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue