mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-28 17:12:13 +00:00
Statically compile C libraries
This commit is contained in:
parent
d059dca7c2
commit
07300bad52
@ -29,6 +29,7 @@ if [ "$(go env GOOS)" = "windows" ]; then
|
||||
fi
|
||||
|
||||
ldflags="
|
||||
-extldflags \"-static\"
|
||||
-X ${repo_path}/version.Version=${version}
|
||||
-X ${repo_path}/version.Revision=${revision}
|
||||
-X ${repo_path}/version.Branch=${branch}
|
||||
|
Loading…
Reference in New Issue
Block a user