diff options
author | Arne Schwabe <arne@rfc2549.org> | 2014-03-12 10:53:48 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2014-03-12 10:53:48 +0100 |
commit | c6f225ba3e7f3f34d01540e39afad5d69dba463f (patch) | |
tree | 3296fd5506946c9a0891d734d7a911067b2cc055 /main/jni | |
parent | 9fed5954c68119d05be09951f209c452a45a00c3 (diff) |
Fix build without openvpn3, new versionv0.6.11-productionv0.6.11
Diffstat (limited to 'main/jni')
-rw-r--r-- | main/jni/Android.mk | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/main/jni/Android.mk b/main/jni/Android.mk index 66f2b737..3152d7e9 100644 --- a/main/jni/Android.mk +++ b/main/jni/Android.mk @@ -1,8 +1,12 @@ # Path of the sources JNI_DIR := $(call my-dir) -#USE_POLAR=1 -#USE_BREAKPAD=0 +#optional arguments +#WITH_POLAR=1 +#WITH_OPENVPN3=1 +# Build openvpn with polar (OpenVPN3 core is always build with polar) +#WITH_BREAKPAD=0 + include lzo/Android.mk include snappy/Android.mk @@ -20,13 +24,22 @@ else WITH_BREAKPAD=0 endif +ifeq ($(WITH_POLAR),1) + USE_POLAR=1 +endif +ifeq ($(WITH_OPENVPN3),1) + USE_POLAR=1 +endif ifeq ($(USE_POLAR),1) include polarssl/Android.mk endif include openvpn/Android.mk -include ovpn3/Android.mk + +ifeq ($(WITH_OPENVPN3),1) + include ovpn3/Android.mk +endif LOCAL_PATH := $(JNI_DIR) |