util/groupmember: adjust build tags for osusergo

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/2679/head
Brad Fitzpatrick 3 years ago committed by Brad Fitzpatrick
parent 2a0d3f72c5
commit 0410f1a35a

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build cgo
// +build cgo
//go:build cgo && !osusergo
// +build cgo,!osusergo
package groupmember

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build !cgo && (linux || darwin)
// +build !cgo
//go:build (!cgo || osusergo) && (linux || darwin)
// +build !cgo osusergo
// +build linux darwin
package groupmember

Loading…
Cancel
Save