Merge pull request #1017 from danielledeleo/ldflags-brew
Go: Use Homebrew include paths
This commit is contained in:
14
go/ldflags-darwin.go
Normal file
14
go/ldflags-darwin.go
Normal 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"
|
||||||
Reference in New Issue
Block a user