From c84baf4bcc05d625a923b28cdb47df8d13272a77 Mon Sep 17 00:00:00 2001 From: Bixilon Date: Mon, 24 Apr 2023 13:31:25 +0200 Subject: [PATCH] netty: fix natives name on arm architecture This should fix the build (again) on the raspberry pi. See #51 --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index b5c36a92b..6f9f1a056 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -377,7 +377,7 @@ dependencies { if (os == OSTypes.LINUX) { val nettyNatives = when (architecture) { Architectures.AMD64, Architectures.X86 -> "x86_64" - Architectures.ARM, Architectures.AARCH64 -> "aarch64" + Architectures.ARM, Architectures.AARCH64 -> "aarch_64" else -> throw IllegalArgumentException("Can not determinate netty natives for $architecture") } implementation("io.netty", "netty-transport-native-epoll", nettyVersion, classifier = "linux-$nettyNatives")