diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-03-05 00:56:48 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-03-05 05:36:21 +0100 |
commit | 0d4eba28ad5a092686bdb9a700745912419a4d51 (patch) | |
tree | a084be18d29870c0e918012985a089bed3c68825 | |
parent | ui: show last tunnel config (diff) | |
download | wireguard-windows-0d4eba28ad5a092686bdb9a700745912419a4d51.tar.xz wireguard-windows-0d4eba28ad5a092686bdb9a700745912419a4d51.zip |
build: musl.cc now offers zips
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | build.bat | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -20,17 +20,15 @@ goto :out mkdir deps || goto :error cd deps || goto :error echo Downloading golang - curl -#o go.zip https://dl.google.com/go/go1.12.windows-amd64.zip || goto :error + curl -#fo go.zip https://dl.google.com/go/go1.12.windows-amd64.zip || goto :error echo Downloading mingw - curl -#o mingw.tar.gz http://musl.cc/x86_64-w64-mingw32-native.tgz || goto :error + curl -#fo mingw.zip https://musl.cc/x86_64-w64-mingw32-native.zip || goto :error echo Extracting golang tar -xf go.zip || goto :error - echo Extracting gcc - rem We don't goto error here because the symlinks make it always fail - tar -xf mingw.tar.gz - move x86_64-w64-mingw32-native/include x86_64-w64-mingw32-native/x86_64-w64-mingw32/ > NUL || goto :error + echo Extracting mingw + tar -xf mingw.zip || goto :error echo Cleaning up - del go.zip mingw.tar.gz || goto :error + del go.zip mingw.zip || goto :error copy /y NUL .prepared > NUL || goto :error cd .. || goto :error exit /b |