diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-13 09:01:49 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-13 13:28:00 +0200 |
commit | cdb3701c95cbe6379288c486231e71e42dca0601 (patch) | |
tree | 710f0442ce9e89bc7832c9db56bfa8cdef00bb64 /build.bat | |
parent | ui: lock runtime thread as early as possible (diff) | |
download | wireguard-windows-cdb3701c95cbe6379288c486231e71e42dca0601.tar.xz wireguard-windows-cdb3701c95cbe6379288c486231e71e42dca0601.zip |
service: allow go to create correct environment block
Diffstat (limited to 'build.bat')
-rw-r--r-- | build.bat | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ if exist .deps\prepared goto :render rem Mirror of https://sourceforge.net/projects/gnuwin32/files/patch/2.5.9-7/patch-2.5.9-7-bin.zip with fixed manifest call :download patch.zip https://download.wireguard.com/windows-toolchain/distfiles/patch-2.5.9-7-bin-fixed-manifest.zip 25977006ca9713f2662a5d0a2ed3a5a138225b8be3757035bd7da9dcf985d0a1 "--strip-components 1 bin" || goto :error echo [+] Patching go - .\patch.exe -f -N -r- -d go -p1 --binary < ..\golang-security-attribute-process-creation.patch || goto :error + for %%a in ("..\golang-*.patch") do .\patch.exe -f -N -r- -d go -p1 --binary < "%%a" || goto :error copy /y NUL prepared > NUL || goto :error cd .. || goto :error |