From f104963409e432372c665f133936bbdd621a6262 Mon Sep 17 00:00:00 2001 From: Alexander Chuprov Date: Fri, 11 Aug 2023 12:25:02 +0300 Subject: [PATCH] [#9] makefile: add env CGO_ENABLED Signed-off-by: Alexander Chuprov --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8667f50..e76ac2e 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ test: lib: @mkdir -pv $(OUT_DIR) - @go build -buildmode=plugin -o $(OUT_DIR)/external_linters.so $(PLUGIN_SOURCE) + @CGO_ENABLED=1 go build -buildmode=plugin -o $(OUT_DIR)/external_linters.so $(PLUGIN_SOURCE) lint: @golangci-lint run -- 2.45.2