From 9eab41933428cf408de91867a0719b5aa8686efa Mon Sep 17 00:00:00 2001 From: Sean Karlage Date: Sun, 29 Jul 2018 21:44:16 -0700 Subject: [PATCH] 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 ``` --- fou.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/fou.go b/fou.go index 53fa686..71e73c3 100644 --- a/fou.go +++ b/fou.go @@ -1,5 +1,3 @@ -// +build linux - package netlink import (