diff --git a/src/Make.inc b/src/Make.inc index 7b4ccd0aee..9dc7b8c1c6 100644 --- a/src/Make.inc +++ b/src/Make.inc @@ -142,6 +142,9 @@ endif ifeq ($(GOOS),netbsd) # ... and not on NetBSD CGO_ENABLED:=0 endif +ifeq ($(GOOS)$(GOARCH),windowsamd64) # ... and not on Windows/amd64 +CGO_ENABLED:=0 +endif endif # Make environment more standard.