aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/embeddable-dll-service
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-06-11 12:56:44 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2021-06-18 11:28:50 +0200
commit56006cdd26b8d8eaa29b6467f6c0d12716e2741e (patch)
tree139e16e21f036b526ee1764daa060ef517aa1689 /embeddable-dll-service
parentmanager: manually use CreateProcess for launching UI process (diff)
downloadwireguard-windows-56006cdd26b8d8eaa29b6467f6c0d12716e2741e.tar.xz
wireguard-windows-56006cdd26b8d8eaa29b6467f6c0d12716e2741e.zip
build: bump to go 1.17beta1
Also, enable arm64 embeddable tunnel service building. Requested-by: Dmitry Smirnov <dmitry.smirnov@netprotect.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'embeddable-dll-service')
-rw-r--r--embeddable-dll-service/README.md2
-rw-r--r--embeddable-dll-service/build.bat2
2 files changed, 2 insertions, 2 deletions
diff --git a/embeddable-dll-service/README.md b/embeddable-dll-service/README.md
index 1b48f6ab..6184f00c 100644
--- a/embeddable-dll-service/README.md
+++ b/embeddable-dll-service/README.md
@@ -1,6 +1,6 @@
## Embeddable WireGuard Tunnel Library
-This allows embedding WireGuard as a service inside of another application. Build `tunnel.dll` by running `./build.bat` in this folder. The first time you run it, it will invoke `..\build.bat` simply for downloading dependencies. After, you should have `amd64/tunnel.dll` and `x86/tunnel.dll`.
+This allows embedding WireGuard as a service inside of another application. Build `tunnel.dll` by running `./build.bat` in this folder. The first time you run it, it will invoke `..\build.bat` simply for downloading dependencies. After, you should have `amd64/tunnel.dll`, `x86/tunnel.dll`, and `arm64/tunnel.dll`.
The basic setup to use `tunnel.dll` is:
diff --git a/embeddable-dll-service/build.bat b/embeddable-dll-service/build.bat
index 0d2cbdbb..0135b054 100644
--- a/embeddable-dll-service/build.bat
+++ b/embeddable-dll-service/build.bat
@@ -21,9 +21,9 @@ if exist ..\.deps\prepared goto :build
set CGO_CFLAGS=-O3 -Wall -Wno-unused-function -Wno-switch -std=gnu11 -DWINVER=0x0601
call :build_plat x86 i686 386 || goto :error
call :build_plat amd64 x86_64 amd64 || goto :error
+ call :build_plat arm64 aarch64 arm64 || goto :error
rem Uncomment when cgo is implemented:
rem call :build_plat arm armv7 arm || goto :error
- rem call :build_plat arm64 aarch64 arm64 || goto :error
:success
echo [+] Success