summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-26 17:12:17 +0100
committerGitHub <noreply@github.com>2022-01-26 17:12:17 +0100
commita54320a793c156e13d6880f7e898ac8232623a60 (patch)
tree2755d4aaa870dcb1559b0cb6bf7ff4220293d6f4
parent63134a1ef8e85395fb0aedbe966fb6b4f1d91470 (diff)
parentdaeade54219130af25fac9b72da8f0a0ac5b2d75 (diff)
downloadpodman-a54320a793c156e13d6880f7e898ac8232623a60.tar.gz
podman-a54320a793c156e13d6880f7e898ac8232623a60.tar.bz2
podman-a54320a793c156e13d6880f7e898ac8232623a60.zip
Merge pull request #13020 from zeha/12975-fix-12327
Makefile: fix darwin detection
-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