diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -18,16 +18,13 @@ $ git clone --recursive https://git.zx2c4.com/wireguard-windows ### Building -Currently a mess while we transition a few things, so you'll actually need to use WSL. Here are instructions for [Ubuntu 18.04 from the Windows Store](https://www.microsoft.com/en-us/p/ubuntu-1804-lts/9n9tngvndl3q) on WSL: +The use of cgo/mingw makes it slightly easier to compile from WSL. Here are instructions for [Ubuntu 18.04 from the Windows Store](https://www.microsoft.com/en-us/p/ubuntu-1804-lts/9n9tngvndl3q) on WSL: ``` $ sudo apt update $ sudo apt install mingw-w64 make $ curl https://dl.google.com/go/go1.12.linux-amd64.tar.gz | tar xzf - $ export PATH="$PWD/go/bin:$PATH" -$ mkdir "$HOME/.go" -$ export GOPATH="$HOME/.go" -$ go get github.com/akavel/rsrc $ cd /mnt/c/Users/YourUsername/Projects/wireguard-windows $ make ``` |