From f1a43eca4d1e5ea09a7069be69d32e9adadbd137 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 2 May 2018 17:12:29 +0100 Subject: [PATCH] mount: make --daemon work for macOS without CGO --- cmd/mountlib/daemon.go | 2 +- cmd/mountlib/daemon_unix.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/mountlib/daemon.go b/cmd/mountlib/daemon.go index a8124fef9..88e0ae3bb 100644 --- a/cmd/mountlib/daemon.go +++ b/cmd/mountlib/daemon.go @@ -1,6 +1,6 @@ // Daemonization interface for non-Unix variants only -// +build windows darwin,!cgo +// +build windows package mountlib diff --git a/cmd/mountlib/daemon_unix.go b/cmd/mountlib/daemon_unix.go index 318f5a3d0..23df2d204 100644 --- a/cmd/mountlib/daemon_unix.go +++ b/cmd/mountlib/daemon_unix.go @@ -1,7 +1,6 @@ // Daemonization interface for Unix variants only // +build !windows -// +build !darwin cgo package mountlib