summaryrefslogtreecommitdiff
path: root/main/jni/Android.mk
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-11-26 00:04:25 +0100
committerArne Schwabe <arne@rfc2549.org>2014-11-26 00:04:25 +0100
commit5dc503314511f3041b4674569ba03c10714f7625 (patch)
tree13a7b93ccdaccb85f576d7c29bf432e6039ab48f /main/jni/Android.mk
parentd02a647cda48441ab0f6f1c5d00d5b3fdb74b691 (diff)
Implement getting local interfaces via native API and without OpenVPN.
Fixes allow local LAN on Android 5.0 --HG-- extra : rebase_source : ac79c41800905f3aeb23ce49a617ab226a6473c0
Diffstat (limited to 'main/jni/Android.mk')
-rw-r--r--main/jni/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/jni/Android.mk b/main/jni/Android.mk
index 90074b0f..df8cbb34 100644
--- a/main/jni/Android.mk
+++ b/main/jni/Android.mk
@@ -49,8 +49,9 @@ LOCAL_PATH := $(JNI_DIR)
# The only real JNI library
include $(CLEAR_VARS)
LOCAL_LDLIBS := -llog -lz
+LOCAL_CFLAGS = --std=c99
LOCAL_C_INCLUDES := openssl/include openssl/crypto openssl
-LOCAL_SRC_FILES:= jniglue.c jbcrypto.cpp
+LOCAL_SRC_FILES:= jniglue.c jbcrypto.cpp scan_ifs.c
LOCAL_MODULE = opvpnutil
LOCAL_SHARED_LIBRARIES := libcrypto
include $(BUILD_SHARED_LIBRARY)