2016-04-27 13:21:03 +00:00
|
|
|
To build this within the NDK the following things have to be done:
|
2012-02-17 14:40:57 +00:00
|
|
|
|
2016-04-27 13:21:03 +00:00
|
|
|
- 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):
|
2012-02-22 11:05:38 +00:00
|
|
|
|
|
|
|
./autogen.sh && ./configure && make && make distclean
|
2012-02-17 14:40:57 +00:00
|
|
|
|
2016-04-27 13:21:03 +00:00
|
|
|
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.
|
2012-02-17 14:40:57 +00:00
|
|
|
|
2016-04-27 13:21:03 +00:00
|
|
|
- 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.
|