From eab80ec6b0b6d76bac8393560e967ef541669568 Mon Sep 17 00:00:00 2001 From: Fleetspeak Team Date: Mon, 23 Oct 2023 08:55:42 -0700 Subject: [PATCH] Make sure Fleetspeak client and server binaries are built static. PiperOrigin-RevId: 575832770 --- fleetspeak/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fleetspeak/build.sh b/fleetspeak/build.sh index c9a20310..145753a9 100755 --- a/fleetspeak/build.sh +++ b/fleetspeak/build.sh @@ -16,6 +16,9 @@ readonly ARGV0=${0} +# Make sure Fleetspeak client and server binaries are static. +export CGO_ENABLED=0 + # Get absolute path to symlink's directory set +e # Do not exit if readlink errors out SCRIPT_DIR="$(/usr/bin/dirname "$(readlink -e "${ARGV0}" 2>/dev/null)")"