aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSlipkHunter <abrito025@gmail.com>2023-01-19 20:44:41 -0300
committerHarsh Shandilya <me@msfjarvis.dev>2023-01-20 19:37:41 +0530
commit4f26156030a24d8ce3107104636f4ee85d8065f6 (patch)
tree1f48c276c1decbc9b3f97a9975fde50bd5d3bf35
parentgradle: update AGP and Kotlin (diff)
downloadwireguard-android-4f26156030a24d8ce3107104636f4ee85d8065f6.tar.xz
wireguard-android-4f26156030a24d8ce3107104636f4ee85d8065f6.zip
gradle: force the use of an older NDK version
NDK 25.x removed the bundled ld.gold/ld.bfd linkers, replacing them with the ld.ldd linker from LLVM. This causes the toolchains to pick up the host OS' `ld.gold` instead, which does not know how to link ARM(64) code and fails the build. Fixes: f269fb175dd7 ("gradle: update AndroidX and Kotlin") Signed-off-by: SlipkHunter <abrito025@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--tunnel/build.gradle1
1 files changed, 1 insertions, 0 deletions
diff --git a/tunnel/build.gradle b/tunnel/build.gradle
index ff1aad19..9b894735 100644
--- a/tunnel/build.gradle
+++ b/tunnel/build.gradle
@@ -7,6 +7,7 @@ group groupName
android {
compileSdkVersion 31
+ ndkVersion '21.4.7075529'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8