diff options
author | James Munnelly <[email protected]> | 2017-04-24 15:36:18 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-04-24 20:09:32 +0200 |
commit | 24be139cb7229b4840932027283d0c4a245fadaa (patch) | |
tree | 064f359f3b29839c2c9eebfb0e72bfbde8909a51 | |
parent | 3e0f1ad7f529a584c6726fdff7adecec720ebb3a (diff) | |
download | hugo-24be139cb7229b4840932027283d0c4a245fadaa.tar.gz hugo-24be139cb7229b4840932027283d0c4a245fadaa.zip |
Add -linkmode external
-rw-r--r-- | goreleaser.yml | 2 |
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 |