Merge pull request #1017 from danielledeleo/ldflags-brew

Go: Use Homebrew include paths
This commit is contained in:
Dani De Leo
2023-12-05 14:20:22 -05:00
committed by GitHub

14
go/ldflags-darwin.go Normal file
View File

@@ -0,0 +1,14 @@
//go:build darwin
/*
* Copyright (C) Danielle De Leo
* Copyright (C) NGINX, Inc.
*/
package unit
/*
#cgo LDFLAGS: -L/opt/homebrew/lib
#cgo CFLAGS: -I/opt/homebrew/include
*/
import "C"