summaryrefslogtreecommitdiffhomepage
path: root/go/ldflags.go
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2019-12-24 17:59:52 +0300
committerMax Romanov <max.romanov@nginx.com>2019-12-24 17:59:52 +0300
commitf5a2984acf9a562b6b1eb45a21d9af2be2415659 (patch)
tree5e61bb9fef4adc52f8e9a46803dc065b4b0faaf2 /go/ldflags.go
parenta427ecd4c547958079cce2dae13060b2d60aa4d4 (diff)
downloadunit-f5a2984acf9a562b6b1eb45a21d9af2be2415659.tar.gz
unit-f5a2984acf9a562b6b1eb45a21d9af2be2415659.tar.bz2
Go: moving source files to the root of the project.
This patch includes packaging changes related to files move.
Diffstat (limited to 'go/ldflags.go')
-rw-r--r--go/ldflags.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/go/ldflags.go b/go/ldflags.go
new file mode 100644
index 00000000..68f2ab78
--- /dev/null
+++ b/go/ldflags.go
@@ -0,0 +1,10 @@
+/*
+ * Copyright (C) NGINX, Inc.
+ */
+
+package unit
+
+/*
+#cgo LDFLAGS: -lunit
+*/
+import "C"