Index: itcl/build.sh ================================================================== --- itcl/build.sh +++ itcl/build.sh @@ -33,16 +33,20 @@ cd 'build' || exit 1 gzip -dc "../${SRC}" | tar -xf - cd "${BUILDDIR}" || exit 1 - ./configure --enable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA} + ./configure --enable-shared --disable-symbols --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA} "${MAKE:-make}" || exit 1 "${MAKE:-make}" install mkdir "${OUTDIR}/lib" || exit 1 cp -r "${INSTDIR}/lib"/itcl*/ "${OUTDIR}/lib/" + + strip -g "${OUTDIR}"/lib/itcl*/*.so >/dev/null 2>/dev/null + + exit 0 ) || exit 1 exit 0 Index: tk/build.sh ================================================================== --- tk/build.sh +++ tk/build.sh @@ -37,11 +37,11 @@ # Remove previous directory's "tkConfig.sh" if found rm -f 'tkConfig.sh' cd "${BUILDDIR}/${dir}" || exit 1 - ./configure --enable-shared --prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA} + ./configure --enable-shared --disable-symbols --prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA} "${MAKE:-make}" || continue "${MAKE:-make}" install @@ -54,10 +54,14 @@ mkdir "${OUTDIR}/lib" || exit 1 cp -r "${INSTDIR}/lib"/tk*/ "${OUTDIR}/lib/" cp -r "${INSTDIR}/lib"/libtk* "${OUTDIR}/lib"/tk*/ + strip -g "${OUTDIR}"/lib/tk*/*.so >/dev/null 2>/dev/null + break done + + exit 0 ) || exit 1 exit 0