generated from TrueCloudLab/basic
[#9] makefile: add env CGO_ENABLED #9
No reviewers
Labels
No labels
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/linters#9
Loading…
Reference in a new issue
No description provided.
Delete branch "achuprov/linters:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
To use dynamic linking, CGO must be enabled
Signed-off-by: Alexander Chuprov a.chuprov@yadro.com
@ -7,3 +7,3 @@
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)
Why do we need it here? I believe we need it only in an application that loads plugin.
Pull request closed