summaryrefslogtreecommitdiffhomepage
path: root/src/go/unit
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/unit')
-rw-r--r--src/go/unit/ldflags.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/go/unit/ldflags.go b/src/go/unit/ldflags.go
new file mode 100644
index 00000000..68f2ab78
--- /dev/null
+++ b/src/go/unit/ldflags.go
@@ -0,0 +1,10 @@
+/*
+ * Copyright (C) NGINX, Inc.
+ */
+
+package unit
+
+/*
+#cgo LDFLAGS: -lunit
+*/
+import "C"