Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
sters committed Oct 29, 2021
1 parent b22c0bd commit c964918
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ builds:
binary: onstatic
env:
- CGO_ENABLED=1
ldflags:
- -extldflags "-static"
# if use static, plugin will not worked. https://github.com/golang/go/issues/21822
#ldflags:
# - -extldflags "-static"
goos:
- linux
goarch:
Expand Down

0 comments on commit c964918

Please sign in to comment.