mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-27 22:09:53 +02:00
Add -linkmode external
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
3e0f1ad7f5
commit
24be139cb7
@@ -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
|
||||
|
Reference in New Issue
Block a user