We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfbb9f1 commit 0908c12Copy full SHA for 0908c12
tclconfig/tcl.m4
@@ -4227,6 +4227,10 @@ AC_DEFUN([TEA_SETUP_COMPILER], [
4227
# 2. Try to link the C++ libraries statically
4228
AX_ADDTO_LINK_FLAGS([-static-libgcc])
4229
AX_ADDTO_LINK_FLAGS([-static-libstdc++])
4230
+ # on Windows, add -static to the linkage (for some MinGW libraries)
4231
+ if test "${TEA_PLATFORM}" = "windows"; then
4232
+ AX_ADDTO_LINK_FLAGS([-static])
4233
+ fi
4234
AC_LANG_POP([C++])
4235
fi
4236
#--------------------------------------------------------------------
0 commit comments