diff options
author | 2021-07-30 14:46:37 +0200 | |
---|---|---|
committer | 2021-08-02 13:54:04 +0200 | |
commit | 2b2f884c1eccfb2333e7c6860f6c3d3b2d34686f (patch) | |
tree | 01802d967fc152d5a89220ee1d77777dd70a4ef0 /Makefile | |
parent | embeddable-dll-service: .gitignore VS output folders (diff) | |
download | wireguard-windows-2b2f884c1eccfb2333e7c6860f6c3d3b2d34686f.tar.xz wireguard-windows-2b2f884c1eccfb2333e7c6860f6c3d3b2d34686f.zip |
build: use official go builds and patch locally
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -25,13 +25,15 @@ define download = if ! mv $$@.unverified $$@; then rm -f $$@.unverified; exit 1; fi endef -$(eval $(call download,go.tar.zst,https://download.wireguard.com/windows-toolchain/distfiles/go1.17beta1-linux_amd64_2021-06-11.tar.zst,fc25a3eccfdd1ad42b2963c7736f4fdb9b0e995aca3ecae88a6114da07aff2ec)) +$(eval $(call download,go.tar.gz,https://golang.org/dl/go1.17rc1.linux-amd64.tar.gz,bfbd3881a01ca3826777b1c40f241acacd45b14730d373259cd673d74e15e534)) $(eval $(call download,wintun.zip,https://www.wintun.net/builds/wintun-0.12.zip,eba90e26686ed86595ae0a6d4d3f4f022924b1758f5148a32a91c60cc6e604df)) -.deps/go/prepared: .distfiles/go.tar.zst +.deps/go/prepared: .distfiles/go.tar.gz $(wildcard go-patches/*.patch) mkdir -p .deps rm -rf .deps/go - bsdtar -C .deps -xf .distfiles/go.tar.zst + bsdtar -C .deps -xf .distfiles/go.tar.gz + chmod -R +w .deps/go + cat $(filter %.patch,$^) | patch -f -N -r- -p1 -d .deps/go touch $@ .deps/wintun/prepared: .distfiles/wintun.zip |