summaryrefslogtreecommitdiff
path: root/main/jni/Android.mk
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2016-11-22 17:12:25 +0100
committerArne Schwabe <arne@rfc2549.org>2016-11-22 17:12:25 +0100
commit8e5954edd17e9efd150b37213482e8abdbf57f5a (patch)
tree63e9c3f98b93d4c60e07081cc01e067f5753ff7a /main/jni/Android.mk
parent5e50072b9a95aad7623d8317473c295446901fb7 (diff)
Really statically link closes #563
Diffstat (limited to 'main/jni/Android.mk')
-rw-r--r--main/jni/Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/jni/Android.mk b/main/jni/Android.mk
index 361f2184..0b8a2ee4 100644
--- a/main/jni/Android.mk
+++ b/main/jni/Android.mk
@@ -69,7 +69,7 @@ include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_LDLIBS := -lz -lc
-LOCAL_SHARED_LIBRARIES := libssl libcrypto openvpn
+LOCAL_STATIC_LIBRARIES := libssl_static libcrypto_static openvpn
LOCAL_SRC_FILES:= minivpn.c dummy.cpp
LOCAL_MODULE = nopie_openvpn
include $(BUILD_EXECUTABLE)
@@ -80,7 +80,7 @@ LOCAL_LDLIBS := -lz -lc
LOCAL_CFLAGS= -fPIE -pie
LOCAL_CFLAGS = -fPIE
LOCAL_LDFLAGS = -fPIE -pie
-LOCAL_SHARED_LIBRARIES := libssl libcrypto openvpn
+LOCAL_STATIC_LIBRARIES := libssl_static libcrypto_static openvpn
LOCAL_SRC_FILES:= minivpn.c dummy.cpp
LOCAL_MODULE = pie_openvpn
include $(BUILD_EXECUTABLE)