Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src
Cargo.toml
README.md
build-static.sh

README.md

mullvad-wg-establish-psk

Building statically linked binaries

In order to build statically linked binaries, a musl toolchain is needed. First, you'll need to install the following packages, using apt-get or similar:

autoconf automake libtool make musl-dev musl-tools libclang-dev

You'll also need to add a rust target using rustup. We add it to the stable toolchain, since we are going to build against that:

rustup target add x86_64-unknown-linux-musl --toolchain stable

Then, you can run the build-static.sh script to build the static binaries.

License: MIT/Apache-2.0

You can’t perform that action at this time.