summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>2022-01-26 14:11:36 +0100
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>2022-01-26 14:16:31 +0100
commitdaeade54219130af25fac9b72da8f0a0ac5b2d75 (patch)
tree2755d4aaa870dcb1559b0cb6bf7ff4220293d6f4
parent63134a1ef8e85395fb0aedbe966fb6b4f1d91470 (diff)
downloadpodman-daeade54219130af25fac9b72da8f0a0ac5b2d75.tar.gz
podman-daeade54219130af25fac9b72da8f0a0ac5b2d75.tar.bz2
podman-daeade54219130af25fac9b72da8f0a0ac5b2d75.zip
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 <chris.hofstaedtler@deduktiva.com>
-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