From 0db4d2531648796a3447a409f05bd82bcc91ff9f Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Tue, 5 Dec 2017 17:06:37 +0300 Subject: Fixing Go package build in NetBSD. Bug introduced in 585c8068a6d7. --- src/go/unit/ldflags-lrt.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/go/unit/ldflags-lrt.go (limited to 'src/go/unit/ldflags-lrt.go') 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" -- cgit