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") {