Skip to content

Commit a54320a

Browse files
Merge pull request #13020 from zeha/12975-fix-12327
Makefile: fix darwin detection
2 parents 63134a1 + daeade5 commit a54320a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ endef
176176
# Need to use CGO for mDNS resolution, but cross builds need CGO disabled
177177
# See https://github.com/golang/go/issues/12524 for details
178178
DARWIN_GCO := 0
179-
ifeq ($(NATIVE_GOOS),darwin)
179+
ifeq ($(GOOS),darwin)
180180
ifdef HOMEBREW_PREFIX
181181
DARWIN_GCO := 1
182182
endif

0 commit comments

Comments
 (0)