summaryrefslogtreecommitdiffhomepage
path: root/src/go/unit/darwin-cflags.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/unit/darwin-cflags.go')
-rw-r--r--src/go/unit/darwin-cflags.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/go/unit/darwin-cflags.go b/src/go/unit/darwin-cflags.go
new file mode 100644
index 00000000..a5e37c39
--- /dev/null
+++ b/src/go/unit/darwin-cflags.go
@@ -0,0 +1,13 @@
+// +build darwin
+
+/*
+ * Copyright (C) Max Romanov
+ * Copyright (C) NGINX, Inc.
+ */
+
+package unit
+
+/*
+#cgo CFLAGS: -mmacosx-version-min=10.5
+*/
+import "C"