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 // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build cgo //go:build cgo && !osusergo
// +build cgo // +build cgo,!osusergo
package groupmember package groupmember

View File

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