visibility-unhidden.sh at [eaa71f15f8]

File tcl/patchscripts/visibility-unhidden.sh artifact 05e06e331d part of check-in eaa71f15f8


#! /bin/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