generated from TrueCloudLab/basic
[#9] makefile: add env CGO_ENABLED #9
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in a new issue
Why do we need it here? I believe we need it only in an application that loads plugin.