diff --git a/builders/macos-python-builder.psm1 b/builders/macos-python-builder.psm1 index e434dc4..7c8a35c 100644 --- a/builders/macos-python-builder.psm1 +++ b/builders/macos-python-builder.psm1 @@ -59,6 +59,9 @@ class macOSPythonBuilder : NixPythonBuilder { $env:CFLAGS = "-I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/zlib/include" } else { $configureString += " --with-openssl=/usr/local/opt/openssl@1.1" + 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'" + } } ### Compile with support of loadable sqlite extensions. Unavailable for Python 2.*