set PATH with MUSL bin

This commit is contained in:
zonyitoo
2022-07-20 00:10:36 +08:00
parent e1fc984fae
commit afdbdd922c
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "shadowsocks-rust"
version = "1.15.0-alpha.7"
version = "1.15.0-alpha.8"
authors = ["Shadowsocks Contributors"]
description = "shadowsocks is a fast tunnel proxy that helps you bypass firewalls."
repository = "https://github.com/shadowsocks/shadowsocks-rust"

View File

@@ -28,6 +28,7 @@ RUN case "$TARGETARCH" in \
;; \
esac \
&& wget -qO- "https://musl.cc/$MUSL-cross.tgz" | tar -xzC /root/ \
&& PATH="/root/$MUSL-cross/bin:$PATH" \
&& CC=/root/$MUSL-cross/bin/$MUSL-gcc \
&& rustup target add $RUST_TARGET \
&& RUSTFLAGS="-C linker=$CC" \