Skip to content

Commit

Permalink
Make sure Fleetspeak client and server binaries are built static.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 575832770
  • Loading branch information
Fleetspeak Team authored and copybara-github committed Oct 23, 2023
1 parent bfb02cd commit eab80ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fleetspeak/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)")"
Expand Down

0 comments on commit eab80ec

Please sign in to comment.