From: James Munnelly Date: Mon, 24 Apr 2017 14:22:23 +0000 (+0100) Subject: Set extldflags to static when building X-Git-Tag: v0.20.4~2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3e0f1ad7;p=brevno-suite%2Fhugo Set extldflags to static when building --- diff --git a/goreleaser.yml b/goreleaser.yml index 4b7fef63..72e8d06f 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