mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-10-22 22:25:00 +00:00
11 lines
367 B
Diff
11 lines
367 B
Diff
--- build/build.sh.orig 2017-11-16 16:29:18.281342577 +0000
|
|
+++ build/build.sh 2017-11-16 16:29:55.534787421 +0000
|
|
@@ -44,6 +44,7 @@
|
|
-X ${repo_path}/version.BuildDate${ldseparator}${BUILD_DATE}
|
|
-X ${repo_path}/version.GoVersion${ldseparator}${go_version}"
|
|
|
|
+ldflags="$ldflags -extldflags \"-static\""
|
|
echo ">> building cadvisor"
|
|
|
|
if [ -n "$VERBOSE" ]; then
|