diff options
author | Ned Deily <nad@python.org> | 2022-04-05 04:46:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 04:46:09 (GMT) |
commit | a0c700480b52dffab830d52e9c4eba15d4b57a89 (patch) | |
tree | dd39b1442096648f8ca8b979390dbf6435dc5ebc | |
parent | e06f920c5bc6e9fad29082ba0d84043722806e17 (diff) | |
download | cpython-a0c700480b52dffab830d52e9c4eba15d4b57a89.zip cpython-a0c700480b52dffab830d52e9c4eba15d4b57a89.tar.gz cpython-a0c700480b52dffab830d52e9c4eba15d4b57a89.tar.bz2 |
bpo-45847: Adapt macOS installer build to use new tkinter configure vars (GH-32328)
-rwxr-xr-x | Mac/BuildScript/build-installer.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index 27719b8..1fb6749 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])) |