Add -linkmode external

This commit is contained in:
James Munnelly authored and Bjørn Erik Pedersen committed 2017-04-24 20:09:32 +02:00
1 parent 3e0f1ad7f5
commit 24be139cb7
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
build: build:
main: main.go main: main.go
binary: hugo 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: goos:
- darwin - darwin
- linux - linux