summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2020-08-02 19:11:09 +0200
committerArne Schwabe <arne@rfc2549.org>2020-08-02 19:11:56 +0200
commit1bad88978b00d5dd5f87eab61cf1dc6feff49528 (patch)
tree9d71c028d90a37b270500f9ee2cc14aef767f054
parent22522cef50e78266177c9693b7e05ad28108d918 (diff)
Fix app not launching on older APIs
-rw-r--r--main/build.gradle.kts4
-rw-r--r--main/src/main/cpp/CMakeLists.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/main/build.gradle.kts b/main/build.gradle.kts
index 73d46bad..999555c3 100644
--- a/main/build.gradle.kts
+++ b/main/build.gradle.kts
@@ -18,8 +18,8 @@ android {
defaultConfig {
minSdkVersion(14)
targetSdkVersion(30) //'Q'.toInt()
- versionCode = 170
- versionName = "0.7.17"
+ versionCode = 171
+ versionName = "0.7.17a"
externalNativeBuild {
cmake {
diff --git a/main/src/main/cpp/CMakeLists.txt b/main/src/main/cpp/CMakeLists.txt
index 93539483..bfd06fba 100644
--- a/main/src/main/cpp/CMakeLists.txt
+++ b/main/src/main/cpp/CMakeLists.txt
@@ -207,7 +207,7 @@ set(openvpn_srcs
PREPEND(openvpn_srcs_with_path "openvpn" ${openvpn_srcs})
-add_library(openvpn STATIC ${openvpn_srcs_with_path})
+add_library(openvpn SHARED ${openvpn_srcs_with_path})
target_include_directories(openvpn PRIVATE
openvpn-config