@@ -113,11 +113,15 @@ # Cleanup rm -f kit kit.exe tclsh tclsh.exe # Determine if target is KitDLL or KitSH if [ "${KITTARGET}" = "kitdll" ]; then - CONFIGUREEXTRA="${CONFIGUREEXTRA} --enable-kitdll=static" + if [ "${KITCREATOR_STATIC_KITDLL}" = '1' ]; then + CONFIGUREEXTRA="${CONFIGUREEXTRA} --enable-kitdll=static" + else + CONFIGUREEXTRA="${CONFIGUREEXTRA} --enable-kitdll" + fi fi # Compile Kit if [ -z "${ZLIBDIR}" ]; then echo "Running: ./configure --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"