summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--goreleaser.yml2
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