Check-in [4b893326f5]
Overview
Comment:Updated to support linking Tk dynamically
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:4b893326f56664347e00b18e27de5c082a24bdaf
User & Date: rkeene on 2014-05-04 17:58:24
Other Links: manifest | tags
Context
2014-05-05
02:46
Updated tests check-in: c24deea7f7 user: rkeene tags: trunk
2014-05-04
17:58
Updated to support linking Tk dynamically check-in: 4b893326f5 user: rkeene tags: trunk
2014-04-29
11:46
Updated to fail to build TCC on unsupported platforms check-in: 9ec7dcbb26 user: rkeene tags: trunk
Changes

Modified tk/build.sh from [65e5d2673e] to [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