mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Set extldflags to static when building
This commit is contained in:
parent
0bd0593a77
commit
3e0f1ad7f5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue