Compare commits
No commits in common. "6b043eea98ae9eb3d8c4bec83c65d90558de39b2" and "a17a7b0f7e734f55f918502443e82316128ab67e" have entirely different histories.
6b043eea98
...
a17a7b0f7e
1 changed files with 2 additions and 3 deletions
5
build.sh
5
build.sh
|
@ -67,8 +67,7 @@ fi
|
||||||
export RUSTFLAGS="-C target-feature=-crt-static"
|
export RUSTFLAGS="-C target-feature=-crt-static"
|
||||||
|
|
||||||
title 'Building reqwest-jni'
|
title 'Building reqwest-jni'
|
||||||
cd_and_exec reqwest4j/reqwest-jni \
|
cd_and_exec reqwest4j/reqwest-jni cargo build --release
|
||||||
cargo build --release --target x86_64-unknown-linux-musl
|
|
||||||
|
|
||||||
title 'Building reqwest4j without Rust library...'
|
title 'Building reqwest4j without Rust library...'
|
||||||
cd_and_exec reqwest4j ./gradlew shadowJar
|
cd_and_exec reqwest4j ./gradlew shadowJar
|
||||||
|
@ -92,7 +91,7 @@ cd_and_exec reqwest4j/build/libs \
|
||||||
REQJNI_NAME="libreqwest.so"
|
REQJNI_NAME="libreqwest.so"
|
||||||
REQJNI="$WORKDIR/$REQJNI_NAME"
|
REQJNI="$WORKDIR/$REQJNI_NAME"
|
||||||
|
|
||||||
cd_and_exec reqwest4j/reqwest-jni/target/x86_64-unknown-linux-musl/release \
|
cd_and_exec reqwest4j/reqwest-jni/target/release \
|
||||||
cp libreqwest_jni.so "$REQJNI"
|
cp libreqwest_jni.so "$REQJNI"
|
||||||
|
|
||||||
# Create JAR native libraries tree
|
# Create JAR native libraries tree
|
||||||
|
|
Loading…
Add table
Reference in a new issue