Skip to content

Commit 9eab419

Browse files
get9Flavio Crisciani
authored and
Flavio Crisciani
committed
Netlink: Fix Darwin build
Having fou.go build only for linux breaks builds for darwin: ``` $ go build main.go src/github.com/vishvananda/netlink/fou_unspecified.go:5:15: undefined: Fou src/github.com/vishvananda/netlink/fou_unspecified.go:9:15: undefined: Fou src/github.com/vishvananda/netlink/fou_unspecified.go:13:26: undefined: Fou ``` Instead, build fou.go for all platforms since it doesn't have platform-specific code: ``` $ go build main.go $ ./main not implemented ```
1 parent 2cbcf73 commit 9eab419

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fou.go

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build linux
2-
31
package netlink
42

53
import (

0 commit comments

Comments
 (0)