unit/go/ldflags-lrt.go
Danielle De Leo 7e03a6cc6b Go: Add missing +build and go:build comments
A RHEL 8 test was failing because it uses go1.16. The old style must
be retained for backwards compat.

Fixes: 9a36de84c ("Go: Use Homebrew include paths")
Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Reviewed-by: Dylan Arbour <d.arbour@f5.com>
Signed-off-by: Danielle De Leo <d.deleo@f5.com>
2024-01-10 11:15:48 -05:00

14 lines
167 B
Go

//go:build linux || netbsd
// +build linux netbsd
/*
* Copyright (C) Max Romanov
* Copyright (C) NGINX, Inc.
*/
package unit
/*
#cgo LDFLAGS: -lrt
*/
import "C"