1

fix: make build work on macos

Otherwise the build will fail with errors like `ld: symbol(s) not found for architecture x86_64`
This commit is contained in:
Ruben Maher 2022-04-24 07:34:14 +09:00 committed by GitHub
parent 2b31c3d779
commit 3be10cb389
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 darwin LDFLAGS: -lz
#cgo windows LDFLAGS: -lz -lws2_32
#include "zig.h"
*/