summaryrefslogtreecommitdiff
path: root/main/jni
diff options
context:
space:
mode:
Diffstat (limited to 'main/jni')
-rw-r--r--main/jni/Android.mk15
1 files changed, 12 insertions, 3 deletions
diff --git a/main/jni/Android.mk b/main/jni/Android.mk
index df8cbb34..342c66dc 100644
--- a/main/jni/Android.mk
+++ b/main/jni/Android.mk
@@ -46,13 +46,22 @@ endif
LOCAL_PATH := $(JNI_DIR)
-# The only real JNI library
+# The only real JNI libraries
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 scan_ifs.c
+LOCAL_SRC_FILES:= jniglue.c scan_ifs.c
LOCAL_MODULE = opvpnutil
+include $(BUILD_SHARED_LIBRARY)
+
+
+# The only real JNI libraries
+include $(CLEAR_VARS)
+LOCAL_LDLIBS := -llog -lz
+LOCAL_CFLAGS = --std=c99
+LOCAL_C_INCLUDES := openssl/include openssl/crypto openssl
+LOCAL_SRC_FILES:= jbcrypto.cpp
+LOCAL_MODULE = jbcrypto
LOCAL_SHARED_LIBRARIES := libcrypto
include $(BUILD_SHARED_LIBRARY)