diff options
author | Danielle De Leo <d.deleo@f5.com> | 2023-12-05 10:42:28 -0500 |
---|---|---|
committer | Danielle De Leo <d.deleo@f5.com> | 2023-12-05 13:00:20 -0500 |
commit | 9a36de84c8534cdd8d22b33d90309519e03abf3b (patch) | |
tree | 20936ef89b4f8e4aeea25b865233b6fd64ed8058 /go | |
parent | a922f9a6f0eb91f51262d02711fb39f7010e5c4e (diff) | |
download | unit-9a36de84c8534cdd8d22b33d90309519e03abf3b.tar.gz unit-9a36de84c8534cdd8d22b33d90309519e03abf3b.tar.bz2 |
Go: Use Homebrew include paths
Fixes nginx/unit#967
Diffstat (limited to 'go')
-rw-r--r-- | go/ldflags-darwin.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/go/ldflags-darwin.go b/go/ldflags-darwin.go new file mode 100644 index 00000000..34cfac1a --- /dev/null +++ b/go/ldflags-darwin.go @@ -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" |