commit 24be139cb7229b4840932027283d0c4a245fadaa
parent 3e0f1ad7f529a584c6726fdff7adecec720ebb3a
Author: James Munnelly <munnerz@users.noreply.github.com>
Date: Mon, 24 Apr 2017 15:36:18 +0100
Add -linkmode external
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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