shithub: hugo

Download patch

ref: 24be139cb7229b4840932027283d0c4a245fadaa
parent: 3e0f1ad7f529a584c6726fdff7adecec720ebb3a
author: James Munnelly <[email protected]>
date: Mon Apr 24 11:36:18 EDT 2017

Add -linkmode external

--- 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