Allow build for darwin without CGO

It is not easy to use cross-platform build with CGO enabled so lets
allow build without cgo for darwin and use virtualization framework only
 if we built with CGO.

Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com>
This commit is contained in:
Petr Fedchenkov
2022-09-09 23:30:10 +03:00
parent ceaeac88b6
commit a46e6af650
4 changed files with 18 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ with updated versions of both.
Alternatively, you can install Virtualization.Framework and VPNKit standalone and use it without Docker for Mac.
Virtualization.Framework is enabled on macOS only when built with CGO enabled.
## Boot