Skip to content

Commit

Permalink
mkrelease: statically link windows release binaries
Browse files Browse the repository at this point in the history
This got lost in 38899a8, but it is necessary to bundle MinGW-only
libraries into the Windows binary. The binary is otherwise only
executable from within a MinGW environment.

Fix #27435.

Release note: None
  • Loading branch information
benesch committed Jul 12, 2018
1 parent a8feed0 commit c60f229
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/builder/mkrelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ case "${1-}" in
XGOARCH=amd64
XCMAKE_SYSTEM_NAME=Windows
TARGET_TRIPLE=x86_64-w64-mingw32
LDFLAGS=-static
SUFFIX=-windows-6.2-amd64
) ;;

Expand Down

0 comments on commit c60f229

Please sign in to comment.