[#9] makefile: add env CGO_ENABLED
All checks were successful
Tests and linters / Tests (pull_request) Successful in 4m37s
Tests and linters / Build lib (pull_request) Successful in 4m48s
Tests and linters / Staticcheck (pull_request) Successful in 6m15s
Tests and linters / Lint (pull_request) Successful in 12m50s

Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
Alexander Chuprov 2023-08-11 12:25:02 +03:00
parent c6859b92c1
commit f104963409

View file

@ -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