summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 015690220..2b2cbcad3 100644
--- a/Makefile
+++ b/Makefile
@@ -176,7 +176,7 @@ endef
# Need to use CGO for mDNS resolution, but cross builds need CGO disabled
# See https://github.com/golang/go/issues/12524 for details
DARWIN_GCO := 0
-ifeq ($(NATIVE_GOOS),darwin)
+ifeq ($(GOOS),darwin)
ifdef HOMEBREW_PREFIX
DARWIN_GCO := 1
endif