Skip to content

Commit b4d0c46

Browse files
committed
Attempt to remove the zlib1.dll from tcltk builds
1 parent b146e9d commit b4d0c46

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
@@ -430,6 +430,13 @@ def hack_props(
430430
rb"<tcltkDir>%s\$(ArchName)\</tcltkDir>" % tcltk_path,
431431
)
432432

433+
try:
434+
static_replace_in_file(
435+
tcltkprops_path, rb"<tclZlibDLLName>zlib1.dll</tclZlibDLLName>", rb""
436+
)
437+
except NoSearchStringError:
438+
pass
439+
433440
# We want to statically link against OpenSSL. This requires using our own
434441
# OpenSSL build. This requires some hacking of various files.
435442
openssl_props = pcbuild_path / "openssl.props"

0 commit comments

Comments
 (0)