Diff

Differences From Artifact [bd63ad37a9]:

To Artifact [cdf646bab2]:


    35     35   	cd "${BUILDDIR}" || exit 1
    36     36   	for dir in unix win macosx; do
    37     37   		# Remove previous directory's "tkConfig.sh" if found
    38     38   		rm -f 'tkConfig.sh'
    39     39   
    40     40   		cd "${BUILDDIR}/${dir}" || exit 1
    41     41   
    42         -		./configure --enable-shared --prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
           42  +		./configure --enable-shared --disable-symbols --prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
    43     43   
    44     44   		"${MAKE:-make}" || continue
    45     45   
    46     46   		"${MAKE:-make}" install
    47     47   
    48     48   		# Update pkgIndex to load libtk from the local directory rather
    49     49   		# than the parent directory
................................................................................
    52     52   			mv "${pkgIndex}.new" "${pkgIndex}"
    53     53   		done
    54     54   
    55     55   		mkdir "${OUTDIR}/lib" || exit 1
    56     56   		cp -r "${INSTDIR}/lib"/tk*/ "${OUTDIR}/lib/"
    57     57   		cp -r "${INSTDIR}/lib"/libtk* "${OUTDIR}/lib"/tk*/
    58     58   
           59  +		strip -g "${OUTDIR}"/lib/tk*/*.so >/dev/null 2>/dev/null
           60  +
    59     61   		break
    60     62   	done
           63  +
           64  +	exit 0
    61     65   ) || exit 1
    62     66   
    63     67   exit 0