Skip to content

Commit

Permalink
Strip Windows binaries in local docker-v2 build
Browse files Browse the repository at this point in the history
  • Loading branch information
p2004a committed Oct 21, 2024
1 parent 728f1a3 commit ede4776
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docker-build-v2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,12 @@ set -e
echo "$@"
cd /build/src/docker-build-v2/scripts
$CONFIGURE && ./configure.sh "$@"
$COMPILE && ./compile.sh
if $COMPILE; then
./compile.sh
# When compiling for windows, we must strip debug info because windows does
# not handle the output binary size...
if [[ $ENGINE_PLATFORM =~ .*windows ]]; then
./split-debug-info.sh
fi
fi
' -- "$@"

0 comments on commit ede4776

Please sign in to comment.