mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
Merge pull request #226 from goreleaser/linkexternal
Use external, static linking.
This commit is contained in:
commit
e9ae3b0bf4
@ -1,5 +1,6 @@
|
||||
homepage: &homepage http://goreleaser.github.io
|
||||
description: &description Deliver Go binaries as fast and easily as possible
|
||||
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -linkmode external -extldflags "-static"
|
||||
build:
|
||||
goos:
|
||||
- linux
|
||||
|
Loading…
x
Reference in New Issue
Block a user