Diff

Differences From Artifact [fdc26b1533]:

To Artifact [7ea93d7b1e]:


   123    123   		./configure --with-tcl="${TCLCONFIGDIR}" --with-zlib="${ZLIBDIR}" ${CONFIGUREEXTRA}
   124    124   	fi
   125    125   
   126    126   	echo "Running: ${MAKE:-make} TCLSH_NATIVE=\"${TCLSH_NATIVE}\""
   127    127   	${MAKE:-make} TCLSH_NATIVE="${TCLSH_NATIVE}" || exit 1
   128    128   
   129    129   	# Strip the kit of all symbols, if possible
   130         -	"${STRIP:-strip}" kit >/dev/null 2>/dev/null
   131         -	"${STRIP:-strip}" -g libtclkit* >/dev/null 2>/dev/null
          130  +	if ! echo " ${CONFIGUREEXTRA} " | grep ' --enable-symbols ' >/dev/null; then
          131  +		"${STRIP:-strip}" kit >/dev/null 2>/dev/null
          132  +		"${STRIP:-strip}" -g libtclkit* >/dev/null 2>/dev/null
          133  +	fi
   132    134   
   133    135   	# Fix up Win32 DLL names
   134    136   	## .DLL.A -> .LIB
   135    137   	for file in libtclkit*.dll.a; do
   136    138   		if [ ! -f "${file}" ]; then
   137    139   			continue
   138    140   		fi