summaryrefslogtreecommitdiffhomepage
path: root/goreleaser.yml
diff options
context:
space:
mode:
authorJames Munnelly <[email protected]>2017-04-24 15:36:18 +0100
committerBjørn Erik Pedersen <[email protected]>2017-04-24 20:09:32 +0200
commit24be139cb7229b4840932027283d0c4a245fadaa (patch)
tree064f359f3b29839c2c9eebfb0e72bfbde8909a51 /goreleaser.yml
parent3e0f1ad7f529a584c6726fdff7adecec720ebb3a (diff)
downloadhugo-24be139cb7229b4840932027283d0c4a245fadaa.tar.gz
hugo-24be139cb7229b4840932027283d0c4a245fadaa.zip
Add -linkmode external
Diffstat (limited to 'goreleaser.yml')
-rw-r--r--goreleaser.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/goreleaser.yml b/goreleaser.yml
index 72e8d06f9..582ad7d13 100644
--- a/goreleaser.yml
+++ b/goreleaser.yml
@@ -1,7 +1,7 @@
build:
main: main.go
binary: hugo
- ldflags_template: -s -w -X hugolib.BuildDate={{.Date}} -extldflags "-static"
+ ldflags_template: -s -w -X hugolib.BuildDate={{.Date}} -linkmode external -extldflags "-static"
goos:
- darwin
- linux