Index: common/common.sh ================================================================== --- common/common.sh +++ common/common.sh @@ -274,12 +274,25 @@ function preinstall() { : } function install() { + local filename newFilename + mkdir -p "${installdir}/lib" || return 1 ${MAKE:-make} tcllibdir="${installdir}/lib" TCL_PACKAGE_PATH="${installdir}/lib" "${make_extra[@]}" install || return 1 + + # Rename ".LIB" files to ".a" files which KitCreator expects elsewhere + find "${installdir}/lib" -type f -iname '*.lib' -o -iname '*.lib.linkadd' | while IFS='' read -r filename; do + case "${filename}" in + *.[Dd][Ll][Ll].[Ll][Ii][Bb]) + continue + ;; + esac + newFilename="$(echo "${filename}" | sed 's@\.lib$@.a@i;s@\.lib\.linkadd$@.a.linkadd@')" + mv "${filename}" "${newFilename}" + done } function postinstall() { : }