diff --git a/build-maybenot-ffi.sh b/build-maybenot-ffi.sh index 7fdde84213bc..260e71e4187b 100755 --- a/build-maybenot-ffi.sh +++ b/build-maybenot-ffi.sh @@ -38,7 +38,7 @@ if [ "$IS_USING_CONTAINER_SCRIPT" = "false" ]; then else TARGET_DIR="$SCRIPT_DIR/cargo-target/target" fi -cargo build --target-dir $TARGET_DIR --release --target aarch64-linux-android +cargo build --target-dir $TARGET_DIR --release --target aarch64-linux-android --locked cp $TARGET_DIR/aarch64-linux-android/release/libmaybenot_ffi.a $SCRIPT_DIR/build/libdest/libmaybenot.a popd