summaryrefslogtreecommitdiffhomepage
path: root/go/ldflags.go
diff options
context:
space:
mode:
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"