Explicitly disable CGO for client (#1228)

This commit is contained in:
Maycon Santos 2023-10-18 18:15:18 +02:00 committed by GitHub
parent f2fc0df104
commit c979a4e9fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,7 +141,7 @@ checked out and set up:
To start NetBird, execute:
```
cd client
go build .
CGO_ENABLED=0 go build .
```
> Windows clients have a Wireguard driver requirement. You can downlowd the wintun driver from https://www.wintun.net/builds/wintun-0.14.1.zip, after decompressing, you can copy the file `windtun\bin\ARCH\wintun.dll` to the same path as your binary file or to `C:\Windows\System32\wintun.dll`.