Skip to content

Commit 15e0f23

Browse files
committed
Attempt to remove the zlib1.dll from tcltk builds
1 parent bcdedcc commit 15e0f23

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cpython-windows/build.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,13 @@ def hack_props(
456456
rb"<tcltkDir>%s\$(ArchName)\</tcltkDir>" % tcltk_path,
457457
)
458458

459+
try:
460+
static_replace_in_file(
461+
tcltkprops_path, rb"<tclZlibDLLName>zlib1.dll</tclZlibDLLName>", rb""
462+
)
463+
except NoSearchStringError:
464+
pass
465+
459466
# We want to statically link against OpenSSL. This requires using our own
460467
# OpenSSL build. This requires some hacking of various files.
461468
openssl_props = pcbuild_path / "openssl.props"

0 commit comments

Comments
 (0)