mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-16 19:05:02 -04:00
netty: fix natives name on arm architecture
This should fix the build (again) on the raspberry pi. See #51
This commit is contained in:
parent
a96020dcfa
commit
c84baf4bcc
@ -377,7 +377,7 @@ dependencies {
|
|||||||
if (os == OSTypes.LINUX) {
|
if (os == OSTypes.LINUX) {
|
||||||
val nettyNatives = when (architecture) {
|
val nettyNatives = when (architecture) {
|
||||||
Architectures.AMD64, Architectures.X86 -> "x86_64"
|
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")
|
else -> throw IllegalArgumentException("Can not determinate netty natives for $architecture")
|
||||||
}
|
}
|
||||||
implementation("io.netty", "netty-transport-native-epoll", nettyVersion, classifier = "linux-$nettyNatives")
|
implementation("io.netty", "netty-transport-native-epoll", nettyVersion, classifier = "linux-$nettyNatives")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user