From c192af41053af38db7e29aa887a503c2806aa936 Mon Sep 17 00:00:00 2001 From: yotamloe Date: Wed, 3 Aug 2022 16:00:29 +0300 Subject: [PATCH] Add `CGO_ENABLED=1` for darwin amd build --- otelbuilder/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otelbuilder/Makefile b/otelbuilder/Makefile index 2c85536..935bb82 100644 --- a/otelbuilder/Makefile +++ b/otelbuilder/Makefile @@ -88,7 +88,7 @@ otelcol-logzio-all-sys: otelcol-logzio-darwin_amd64 otelcol-logzio-linux_amd64 o .PHONY: otelcol-logzio-darwin_amd64 otelcol-logzio-darwin_amd64: - GOOS=darwin GOARCH=amd64 $(MAKE) build BINARY_NAME=$(BINARY_NAME)-darwin_amd64 + CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 $(MAKE) build BINARY_NAME=$(BINARY_NAME)-darwin_amd64 .PHONY: otelcol-logzio-linux_amd64 otelcol-logzio-linux_amd64: