Go: linking against libunit.

This commit is contained in:
Max Romanov
2019-12-24 17:59:37 +03:00
parent 9224e94a8d
commit 823f658c77
2 changed files with 30 additions and 12 deletions

10
src/go/unit/ldflags.go Normal file
View File

@@ -0,0 +1,10 @@
/*
* Copyright (C) NGINX, Inc.
*/
package unit
/*
#cgo LDFLAGS: -lunit
*/
import "C"