aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build.bat
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-25 01:37:14 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-25 01:37:14 +0200
commita9a39c71c5f04c1f0cbbba5b1e2c45ff8c2f3647 (patch)
treeebfdc674736aa8f1ed7d5501585abddeec0b6be6 /build.bat
parentwinipcfg: SocketAddressToIP was upstreamed (diff)
downloadwireguard-windows-a9a39c71c5f04c1f0cbbba5b1e2c45ff8c2f3647.tar.xz
wireguard-windows-a9a39c71c5f04c1f0cbbba5b1e2c45ff8c2f3647.zip
build: opt in to walk cgo
Diffstat (limited to '')
-rw-r--r--build.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.bat b/build.bat
index fc870fa3..b09c9512 100644
--- a/build.bat
+++ b/build.bat
@@ -77,6 +77,6 @@ if exist .deps\prepared goto :render
echo [+] Assembling resources %1
windres.exe -i resources.rc -o resources.syso -O coff || exit /b %errorlevel%
echo [+] Building program %1
- go build -ldflags="-H windowsgui -s -w" -v -o "%~1\wireguard.exe" || exit /b 1
+ go build -ldflags="-H windowsgui -s -w" -tags walk_use_cgo -v -o "%~1\wireguard.exe" || exit /b 1
set PATH=%OLDPATH2%
goto :eof