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