From daeade54219130af25fac9b72da8f0a0ac5b2d75 Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Wed, 26 Jan 2022 14:11:36 +0100 Subject: Makefile: fix darwin detection NATIVE_GOOS does not exist in the 3.4 branch, only on main. Fixes my backport #12327. Verified to fix #12975 (again) for me. Signed-off-by: Chris Hofstaedtler --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf