Skip to content

Commit 23daf98

Browse files
committed
Update the prop hacks path for zlib-ng
1 parent 289b1e8 commit 23daf98

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cpython-windows/build.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,10 @@ def hack_props(
411411
elif b"<zlibDir" in line:
412412
line = b"<zlibDir>%s\\</zlibDir>" % zlib_path
413413

414+
# On 3.14+, it's zlib-ng and the name changed
415+
elif b"<zlibNgDir" in line:
416+
line = b"<zlibNgDir>%s\\</zlibNgDir>" % zlib_path
417+
414418
elif b"<mpdecimalDir" in line:
415419
line = b"<mpdecimalDir>%s\\</mpdecimalDir>" % mpdecimal_path
416420

0 commit comments

Comments
 (0)