mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
set PATH with MUSL bin
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user