diff options
author | Max Romanov <max.romanov@nginx.com> | 2019-12-24 17:59:37 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2019-12-24 17:59:37 +0300 |
commit | 823f658c771af8b6ff07a3581a2c63efc6a15ad2 (patch) | |
tree | 6c019d9e4be3f11f8ba1e6fb8a232449aa2fafbd /src/go | |
parent | 9224e94a8d47c5db8ce0d836f5e2e3e340b4e0bd (diff) | |
download | unit-823f658c771af8b6ff07a3581a2c63efc6a15ad2.tar.gz unit-823f658c771af8b6ff07a3581a2c63efc6a15ad2.tar.bz2 |
Go: linking against libunit.
Diffstat (limited to '')
-rw-r--r-- | src/go/unit/ldflags.go | 10 |
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" |