From acd80ba7b47de74b5270cc12b1831e6e0ca8497d Mon Sep 17 00:00:00 2001 From: priya-kinthali <147703874+priya-kinthali@users.noreply.github.com> Date: Thu, 5 Dec 2024 08:57:17 +0530 Subject: [PATCH] Update macos-python-builder.psm1 --- builders/macos-python-builder.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builders/macos-python-builder.psm1 b/builders/macos-python-builder.psm1 index 72549a7..7b9f54c 100644 --- a/builders/macos-python-builder.psm1 +++ b/builders/macos-python-builder.psm1 @@ -80,8 +80,8 @@ class macOSPythonBuilder : NixPythonBuilder { $env:CFLAGS = "-I/usr/local/opt/zlib/include" } - if ($this.Version -gt "3.7.12") { - $configureString += " --with-tcltk-includes='-I /usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'" + if ($this.Version -lt "3.10") { + $configureString += " --with-tcltk-includes='-I /usr/local/opt/tcl-tk/include/tcl-tk' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'" } if ($this.Version -eq "3.7.17") {