Statically compile C libraries

This commit is contained in:
Fabian Reinartz 2015-12-09 15:05:35 +01:00
parent d059dca7c2
commit 07300bad52
1 changed files with 1 additions and 0 deletions

View File

@ -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}