Skip to content

Commit

Permalink
fix(build): static exe for linux hosts
Browse files Browse the repository at this point in the history
refs ovrclk/engineering#622

Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian committed Nov 10, 2022
1 parent dab6c5d commit b8efc35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ builds:
- "{{ .Env.BUILD_VARS }}"
- "{{ .Env.STRIP_FLAGS }}"
- "-linkmode={{ .Env.LINKMODE }}"
- -extldflags "-lc -lrt -lpthread --static"
- id: provider-services-linux-amd64
binary: provider-services
main: ./cmd/provider-services
Expand All @@ -75,6 +76,7 @@ builds:
- "{{ .Env.BUILD_VARS }}"
- "{{ .Env.STRIP_FLAGS }}"
- "-linkmode={{ .Env.LINKMODE }}"
- -extldflags "-lc -lrt -lpthread --static"
universal_binaries:
- id: darwin-universal
ids:
Expand Down

0 comments on commit b8efc35

Please sign in to comment.