From 40eb1f8b9b2a76d76ef6a4a094bf8192a44cbe41 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Fri, 1 Dec 2017 16:57:30 +0300 Subject: Making Go package source distributable and renaming to 'nginx/unit'. All header files are copied to Go package sources. As the result, package can be (re-)build when required. This closes #23 issue on GitHub. --- src/go/unit/darwin-cflags.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/go/unit/darwin-cflags.go (limited to 'src/go/unit/darwin-cflags.go') 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" -- cgit