summaryrefslogtreecommitdiffhomepage
path: root/go/ldflags-darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/ldflags-darwin.go')
-rw-r--r--go/ldflags-darwin.go14
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"