diff --git a/README.md b/README.md index f8b333f..1bc54d0 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ an isolated rustup under `/tmp` so the distro cargo is not touched: export RUSTUP_HOME=/tmp/rustup CARGO_HOME=/tmp/rustup-cargo PATH=/tmp/rustup-cargo/bin:$PATH curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.85.0 --profile minimal --no-modify-path rustup target add aarch64-unknown-linux-musl -mkdir -p /tmp/lld-bin && ln -sf "$(rustc --print rustlib-dir)"/x86_64-unknown-linux-gnu/bin/rust-lld /tmp/lld-bin/ld.lld +mkdir -p /tmp/lld-bin && ln -sf "$(rustc --print sysroot)"/lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-lld /tmp/lld-bin/ld.lld export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=/tmp/lld-bin/ld.lld ~/.cargo/bin/cargo-deb --target aarch64-unknown-linux-musl --no-strip # -> target/aarch64-unknown-linux-musl/debian/btle-proximity_*_arm64.deb