From 07300bad524f45a68595b6a5200296214ba1c291 Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Wed, 9 Dec 2015 15:05:35 +0100 Subject: [PATCH] Statically compile C libraries --- scripts/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build.sh b/scripts/build.sh index 520b2652..3cbe3f50 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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}