Skip to content

Commit b138eb1

Browse files
committed
Attempt to remove the zlib1.dll from tcltk builds
1 parent 5a7307d commit b138eb1

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
@@ -421,6 +421,13 @@ def hack_props(
421421
rb"<tcltkDir>%s\$(ArchName)\</tcltkDir>" % tcltk_path,
422422
)
423423

424+
try:
425+
static_replace_in_file(
426+
tcltkprops_path, rb"<tclZlibDLLName>zlib1.dll</tclZlibDLLName>", rb""
427+
)
428+
except NoSearchStringError:
429+
pass
430+
424431
# We want to statically link against OpenSSL. This requires using our own
425432
# OpenSSL build. This requires some hacking of various files.
426433
openssl_props = pcbuild_path / "openssl.props"

0 commit comments

Comments
 (0)