Skip to content

Commit 9a36de8

Browse files
committed
Go: Use Homebrew include paths
Fixes #967
1 parent a922f9a commit 9a36de8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

go/ldflags-darwin.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//go:build darwin
2+
3+
/*
4+
* Copyright (C) Danielle De Leo
5+
* Copyright (C) NGINX, Inc.
6+
*/
7+
8+
package unit
9+
10+
/*
11+
#cgo LDFLAGS: -L/opt/homebrew/lib
12+
#cgo CFLAGS: -I/opt/homebrew/include
13+
*/
14+
import "C"

0 commit comments

Comments
 (0)