Diff

Differences From Artifact [65e5d2673e]:

To Artifact [d87b27b303]:


   172    172   		cd "${BUILDDIR}/${dir}" || exit 1
   173    173   
   174    174   		# Remove broken pre-generated Makfiles
   175    175   		rm -f GNUmakefile Makefile makefile
   176    176   
   177    177   		if [ "${dir}" = "win" ]; then
   178    178   			# Statically link Tk to Tclkit if we are compiling for
   179         -			# Windows
   180         -			STATICTK="1"
          179  +			# Windows unless otherwise requested
          180  +			if [ -z "${STATICTK}" ]; then
          181  +				STATICTK="1"
          182  +			fi
   181    183   
   182    184   			if [ "${win64}" = "1" ]; then
   183    185   				# Mingw32 for AMD64 requires this, apparently
   184    186   				CPPFLAGS="${CPPFLAGS} -D_WIN32_IE=0x0501"
   185    187   				CFLAGS="${CFLAGS} -D_WIN32_IE=0x0501"
   186    188   				export CPPFLAGS CFLAGS
   187    189   			fi