From 4f26156030a24d8ce3107104636f4ee85d8065f6 Mon Sep 17 00:00:00 2001 From: SlipkHunter Date: Thu, 19 Jan 2023 20:44:41 -0300 Subject: 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 Signed-off-by: Harsh Shandilya --- tunnel/build.gradle | 1 + 1 file changed, 1 insertion(+) (limited to 'tunnel') 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 -- cgit v1.2.3