diff options
author | James Munnelly <munnerz@users.noreply.github.com> | 2017-04-24 15:22:23 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-24 20:09:32 +0200 |
commit | 3e0f1ad7f529a584c6726fdff7adecec720ebb3a (patch) | |
tree | 6b578b8a974d0e21a724eb14eacbcd0bb0dc681e | |
parent | 0bd0593a7791ef1494c428a56b6895922aab22b8 (diff) |
Set extldflags to static when building
-rw-r--r-- | goreleaser.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/goreleaser.yml b/goreleaser.yml index 4b7fef63a..72e8d06f9 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}} + ldflags_template: -s -w -X hugolib.BuildDate={{.Date}} -extldflags "-static" goos: - darwin - linux |