1 To build this within the NDK several things have to be added in the jni
4 - strongswan: The strongSwan sources. This can either be an extracted tarball,
5 or a symlink to the Git repository. To build from the repository the sources
6 have to be prepared first: ./autogen && ./configure && make && make distclean
8 - openssl: The OpenSSL sources. Since the sources need to be changed to be
9 built on Android (and especially in the NDK), we provide a modified mirror
10 of the official Android OpenSSL version on git.strongswan.org.
12 - vstr: The Vstr string library. Since cross-compiling this library is not
13 that easy with the configure script and Makefiles included in the tarball,
14 the easiest way to build it is still to use droid-gcc (as described on
15 wiki.strongswan.org). The build script provided on the wiki builds the
16 library and copies the required header files to the configured installation
17 directory. Please note that the Android.mk provided on the wiki (vstr.mk)
18 does not work in the NDK. A replacement is already in place in jni/vstr.