mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Add -linkmode external
This commit is contained in:
parent
3e0f1ad7f5
commit
24be139cb7
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}} -extldflags "-static"
|
||||
ldflags_template: -s -w -X hugolib.BuildDate={{.Date}} -linkmode external -extldflags "-static"
|
||||
goos:
|
||||
- darwin
|
||||
- linux
|
||||
|
|
Loading…
Reference in a new issue