mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-18 02:48:40 +00:00
util/groupmember: adjust build tags for osusergo
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
2a0d3f72c5
commit
0410f1a35a
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user