Index: tk/build.sh ================================================================== --- tk/build.sh +++ tk/build.sh @@ -145,10 +145,13 @@ # Remove previous directory's "tkConfig.sh" if found rm -f 'tkConfig.sh' cd "${BUILDDIR}/${dir}" || exit 1 + + # Remove broken pre-generated Makfiles + rm -f GNUmakefile Makefile makefile if [ "${dir}" = "win" ]; then # Statically link Tk to Tclkit if we are compiling for # Windows STATICTK="1"