1

Merge pull request #2 from eqyiel/patch-1

fix: make build work on macos
This commit is contained in:
Alexei Yatskov 2022-07-14 15:31:41 -07:00 committed by GitHub
commit fc2ac3e03c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
zig.go
View File

@ -11,6 +11,7 @@ import (
/* /*
#cgo linux LDFLAGS: -lz #cgo linux LDFLAGS: -lz
#cgo darwin LDFLAGS: -lz
#cgo windows LDFLAGS: -lz -lws2_32 #cgo windows LDFLAGS: -lz -lws2_32
#include "zig.h" #include "zig.h"
*/ */