diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-12-05 17:06:37 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-12-05 17:06:37 +0300 |
commit | 0db4d2531648796a3447a409f05bd82bcc91ff9f (patch) | |
tree | 03564c3ea239684ce1572c8b7046bb9b3e3f1dbe /src/go/unit/ldflags-lrt.go | |
parent | cdf900cf2c98b4e3fad11e8b69cd2135f2c306c7 (diff) | |
download | unit-0db4d2531648796a3447a409f05bd82bcc91ff9f.tar.gz unit-0db4d2531648796a3447a409f05bd82bcc91ff9f.tar.bz2 |
Fixing Go package build in NetBSD.
Bug introduced in 585c8068a6d7.
Diffstat (limited to 'src/go/unit/ldflags-lrt.go')
-rw-r--r-- | src/go/unit/ldflags-lrt.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/go/unit/ldflags-lrt.go b/src/go/unit/ldflags-lrt.go new file mode 100644 index 00000000..f5a63508 --- /dev/null +++ b/src/go/unit/ldflags-lrt.go @@ -0,0 +1,13 @@ +// +build linux netbsd + +/* + * Copyright (C) Max Romanov + * Copyright (C) NGINX, Inc. + */ + +package unit + +/* +#cgo LDFLAGS: -lrt +*/ +import "C" |