Skip to content

Commit

Permalink
Attempt to remove the zlib1.dll from tcltk builds
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Sep 4, 2024
1 parent 5a7307d commit b138eb1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cpython-windows/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,13 @@ def hack_props(
rb"<tcltkDir>%s\$(ArchName)\</tcltkDir>" % tcltk_path,
)

try:
static_replace_in_file(
tcltkprops_path, rb"<tclZlibDLLName>zlib1.dll</tclZlibDLLName>", rb""
)
except NoSearchStringError:
pass

# We want to statically link against OpenSSL. This requires using our own
# OpenSSL build. This requires some hacking of various files.
openssl_props = pcbuild_path / "openssl.props"
Expand Down

0 comments on commit b138eb1

Please sign in to comment.