diff --git a/build.sh b/build.sh index fcad9fe..c9caf2a 100755 --- a/build.sh +++ b/build.sh @@ -15,4 +15,4 @@ echo "Building v${VERSION} for Mac OS..." cargo build --release --target=x86_64-apple-darwin echo "Building v${VERSION} for Linux AMD64..." -cargo build --release --target=x86_64-unknown-linux-musl +CROSS_COMPILE=x86_64-linux-musl cargo build --release --target=x86_64-unknown-linux-musl