visibility-unhidden.sh at [4e8d261d38]

File tcl/patchscripts/visibility-unhidden.sh artifact 42e62525bc part of check-in 4e8d261d38


#! /usr/bin/env bash

if [ "${KITTARGET}" != "kitdll" ]; then
	exit 0
fi

for file in unix/configure; do
	sed 's@-fvisibility@-__disabled__fvisibility@' "${file}" > "${file}.new"
	cat "${file}.new" > "${file}"
	rm -f "${file}.new"
done