Index: nsf/build.sh ================================================================== --- nsf/build.sh +++ nsf/build.sh @@ -103,25 +103,19 @@ ( # Build echo "Running: ./configure $tryopt --disable-symbols --prefix=\"${INSTDIR}\" --exec-prefix=\"${INSTDIR}\" --libdir=\"${INSTDIR}/lib\" --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}" ./configure $tryopt --disable-symbols --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --libdir="${INSTDIR}/lib" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA} - if [ "${KC_CROSSCOMPILE}" = '1' ]; then - ## Cross-compiling, use TCLSH_NATIVE - echo "Running: ${MAKE:-make} TCLSH=${TCLSH_NATIVE}" - ${MAKE:-make} TCLSH=${TCLSH_NATIVE} || exit 1 - + echo "Running: ${MAKE:-make}" + ${MAKE:-make} || exit 1 + + echo "Running: ${MAKE:-make} install" + ${MAKE:-make} install || ( + ## cross-compiling? use TCLSH_NATIVE echo "Running: ${MAKE:-make} install TCLSH=${TCLSH_NATIVE}" ${MAKE:-make} install TCLSH=${TCLSH_NATIVE} || exit 1 - else - echo "Running: ${MAKE:-make}" - ${MAKE:-make} || exit 1 - - echo "Running: ${MAKE:-make} install" - ${MAKE:-make} install || exit 1 - fi - + ) || exit 1 ) || continue break done