From acdea1becde59c57f4dda78c637191405e8949c8 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Fri, 1 Apr 2022 22:44:59 -0400 Subject: [PATCH] bpo-45847: Adapt macOS installer build to use new tkinter configure vars --- Mac/BuildScript/build-installer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index 27719b85f1f501..1fb6749fc7d5b7 100755 --- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -1157,11 +1157,11 @@ def buildPython(): (' ', '--without-ensurepip ')[PYTHON_3], (' ', "--with-openssl='%s/libraries/usr/local'"%( shellQuote(WORKDIR)[1:-1],))[PYTHON_3], - (' ', "--with-tcltk-includes='-I%s/libraries/usr/local/include'"%( + (' ', "--enable-optimizations --with-lto")[compilerCanOptimize()], + (' ', "TCLTK_CFLAGS='-I%s/libraries/usr/local/include'"%( shellQuote(WORKDIR)[1:-1],))[internalTk()], - (' ', "--with-tcltk-libs='-L%s/libraries/usr/local/lib -ltcl8.6 -ltk8.6'"%( + (' ', "TCLTK_LIBS='-L%s/libraries/usr/local/lib -ltcl8.6 -ltk8.6'"%( shellQuote(WORKDIR)[1:-1],))[internalTk()], - (' ', "--enable-optimizations --with-lto")[compilerCanOptimize()], shellQuote(WORKDIR)[1:-1], shellQuote(WORKDIR)[1:-1]))