Set extldflags to static when building

This commit is contained in:
James Munnelly authored and Bjørn Erik Pedersen committed 2017-04-24 20:09:32 +02:00
1 parent 0bd0593a77
commit 3e0f1ad7f5
1 file changed
+1 -1
+1 -1
View File
@@ -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