Skip to content

Commit 0f97bcd

Browse files
committed
Explicity set tcl/tk library
1 parent bf3c64f commit 0f97bcd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

builders/macos-python-builder.psm1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ class macOSPythonBuilder : NixPythonBuilder {
5959
$env:CFLAGS = "-I/usr/local/opt/[email protected]/include -I/usr/local/opt/zlib/include"
6060
} else {
6161
$configureString += " --with-openssl=/usr/local/opt/[email protected]"
62+
if ($this.Version -gt "3.7.12") {
63+
$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'"
64+
}
6265
}
6366

6467
### Compile with support of loadable sqlite extensions. Unavailable for Python 2.*

0 commit comments

Comments
 (0)