Differences From Artifact [f20054e4a2]:
- Executable file
tk/build.sh
— part of check-in
[ee99c0e5ae]
at
2010-09-26 04:40:11
on branch trunk
— Updated to support building Tk statically
Updated to build Tk statically on Windows (user: rkeene, size: 2404) [annotate] [blame] [check-ins using]
To Artifact [25355eced1]:
- Executable file tk/build.sh — part of check-in [69081b236e] at 2010-09-26 04:40:16 on branch trunk — Corrected inverted logic for static linking (user: rkeene, size: 2680) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
56 57 58 59 60 61 62 | cd "${BUILDDIR}" || exit 1 for dir in unix win macosx; do # Remove previous directory's "tkConfig.sh" if found rm -f 'tkConfig.sh' cd "${BUILDDIR}/${dir}" || exit 1 | | > > | 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | cd "${BUILDDIR}" || exit 1 for dir in unix win macosx; do # Remove previous directory's "tkConfig.sh" if found rm -f 'tkConfig.sh' cd "${BUILDDIR}/${dir}" || exit 1 if [ "${dir}" = "win" ]; then # Statically link Tk to Tclkit if we are compiling for # Windows STATICTK="1" fi if [ "${STATICTK}" = "1" ]; then echo "Running: ./configure --disable-shared --disable-symbols --prefix=\"${INSTDIR}\" --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}" ./configure --disable-shared --disable-symbols --prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA} else echo "Running: ./configure --enable-shared --disable-symbols --prefix=\"${INSTDIR}\" --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}" ./configure --enable-shared --disable-symbols --prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA} fi ${MAKE:-make} || continue ${MAKE:-make} install |
︙ | ︙ |