util/groupmember: adjust build tags for osusergo

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2021-10-05 15:32:17 -07:00 committed by Brad Fitzpatrick
parent 2a0d3f72c5
commit 0410f1a35a
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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