Updated patches
This commit is contained in:
parent
638746d742
commit
abcd780bd1
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@ patch_reqwest4j () {
|
||||||
patcher \
|
patcher \
|
||||||
reqwest-jni/build.gradle.kts \
|
reqwest-jni/build.gradle.kts \
|
||||||
-e 's/command\.set\("cross"\)/command.set("cargo")/' \
|
-e 's/command\.set\("cross"\)/command.set("cargo")/' \
|
||||||
-e ' /command\.set\("cargo"\)/a cargoInstallTargets.set(true)' \
|
-e ' /command\.set\("cargo"\)/a targets += target("x86_64-unknown-linux-musl", "libreqwest.so")' \
|
||||||
-e ' /targets \+= target\(".*-unknown-linux-gnu", "libreqwest\.so"\)/d' \
|
-e ' /targets \+= target\(".*-unknown-linux-gnu", "libreqwest\.so"\)/d' \
|
||||||
-e ' /cargoInstallTargets\.set\(true\)/a targets += target("x86_64-unknown-linux-musl", "libreqwest.so")'
|
-e ' /targets \+= target\(".*-pc-windows-gnu", "libreqwest\.dll"\)/d'
|
||||||
}
|
}
|
||||||
|
|
||||||
patcher () {
|
patcher () {
|
||||||
|
|
Loading…
Reference in a new issue