From 0f97bcdc231dcad58ff956e1a16d93c1fc2508e1 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Fri, 17 Jun 2022 09:08:45 +0200 Subject: [PATCH] Explicity set tcl/tk library --- builders/macos-python-builder.psm1 | 3 +++ 1 file changed, 3 insertions(+) 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.*