diff options
author | Tobias Brunner <tobias@strongswan.org> | 2016-04-27 15:21:03 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2016-05-02 16:41:50 +0200 |
commit | 3256fe9ebb0c530a2ecf4ac977a32c8e099dc3ca (patch) | |
tree | 23e69d96d527db05bb0f30e77ac9c15112acb867 /src/frontends/android/README.ndk | |
parent | 1bd213db79f6ed1666f22c82ca99added38eeb89 (diff) | |
download | strongswan-3256fe9ebb0c530a2ecf4ac977a32c8e099dc3ca.tar.bz2 strongswan-3256fe9ebb0c530a2ecf4ac977a32c8e099dc3ca.tar.xz |
android: Update README.ndk
Diffstat (limited to 'src/frontends/android/README.ndk')
-rw-r--r-- | src/frontends/android/README.ndk | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/frontends/android/README.ndk b/src/frontends/android/README.ndk index 7c8cd309e..22150dd55 100644 --- a/src/frontends/android/README.ndk +++ b/src/frontends/android/README.ndk @@ -1,13 +1,14 @@ -To build this within the NDK several things have to be added in the -app/src/main/jni/ folder: +To build this within the NDK the following things have to be done: - - strongswan: The strongSwan sources. This can either be an extracted tarball, - or a symlink to the Git repository. To build from the repository the sources - have to be prepared first (see HACKING for a list of required tools): + - By default the strongSwan sources of the current Git tree are used. They have + to be prepared first (see HACKING for a list of required tools): ./autogen.sh && ./configure && make && make distclean - - openssl: The OpenSSL sources. Since the sources need to be changed to be - built on Android (and especially in the NDK), we provide a modified mirror - of the official Android OpenSSL version on git.strongswan.org. + It is also possible to use the sources from a different directory (e.g. an + extracted tarball) by setting strongswan_DIR in app/src/main/jni/Android.mk. + - The OpenSSL or BoringSSL sources are expected in app/src/main/jni/openssl. + Since the sources need to be changed to be built on Android (and especially + in the NDK) we provide a modified mirror of the official Android repositories + on git.strongswan.org. |