From 62ffca0dfd0d66c622436a00201921282087fda2 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Fri, 21 Oct 2022 13:50:47 +0200 Subject: [PATCH] [macOS] Create tcl/tk symlinks (#6443) --- images/macos/provision/core/commonutils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/macos/provision/core/commonutils.sh b/images/macos/provision/core/commonutils.sh index 1d9dc809..84deb1a5 100644 --- a/images/macos/provision/core/commonutils.sh +++ b/images/macos/provision/core/commonutils.sh @@ -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