Fixing Go package build in NetBSD.
Bug introduced in 585c8068a6d7.
This commit is contained in:
13
src/go/unit/ldflags-lrt.go
Normal file
13
src/go/unit/ldflags-lrt.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// +build linux netbsd
|
||||
|
||||
/*
|
||||
* Copyright (C) Max Romanov
|
||||
* Copyright (C) NGINX, Inc.
|
||||
*/
|
||||
|
||||
package unit
|
||||
|
||||
/*
|
||||
#cgo LDFLAGS: -lrt
|
||||
*/
|
||||
import "C"
|
||||
Reference in New Issue
Block a user