Piped-Alpine/reqwest4j.patch

19 lines
674 B
Diff
Raw Normal View History

2023-07-03 13:24:45 +03:00
diff --git a/reqwest-jni/build.gradle.kts b/reqwest-jni/build.gradle.kts
index 189a81d..8c5895e 100644
--- a/reqwest-jni/build.gradle.kts
+++ b/reqwest-jni/build.gradle.kts
@@ -4,8 +4,10 @@ plugins {
rust {
release.set(true)
- command.set("cross")
+ command.set("cargo")
+ cargoInstallTargets.set(true)
- targets += target("aarch64-unknown-linux-gnu", "libreqwest.so")
- targets += target("x86_64-unknown-linux-gnu", "libreqwest.so")
+ // targets += target("aarch64-unknown-linux-gnu", "libreqwest.so")
+ // targets += target("x86_64-unknown-linux-gnu", "libreqwest.so")
+ targets += target("x86_64-unknown-linux-musl", "libreqwest.so")
}