[macOS] Create tcl/tk symlinks (#6443)

This commit is contained in:
Aleksandr Chebotov
2022-10-21 13:50:47 +02:00
committed by GitHub
parent 5b24a10e54
commit 62ffca0dfd

View File

@@ -84,7 +84,7 @@ az extension add -n azure-devops
# Workaround https://github.com/actions/runner-images/issues/4931
# by making Tcl/Tk paths the same on macOS 10.15 and macOS 11
if is_BigSur; then
if is_BigSur || is_Monterey; then
version=$(brew info tcl-tk --json | jq -r '.[].installed[].version')
ln -s /usr/local/Cellar/tcl-tk/$version/lib/libtcl8.6.dylib /usr/local/lib/libtcl8.6.dylib
ln -s /usr/local/Cellar/tcl-tk/$version/lib/libtk8.6.dylib /usr/local/lib/libtk8.6.dylib