diff options
author | Chris Hofstaedtler <chris.hofstaedtler@deduktiva.com> | 2022-01-26 14:11:36 +0100 |
---|---|---|
committer | Chris Hofstaedtler <chris.hofstaedtler@deduktiva.com> | 2022-01-26 14:16:31 +0100 |
commit | daeade54219130af25fac9b72da8f0a0ac5b2d75 (patch) | |
tree | 2755d4aaa870dcb1559b0cb6bf7ff4220293d6f4 | |
parent | 63134a1ef8e85395fb0aedbe966fb6b4f1d91470 (diff) | |
download | podman-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |