Skip to content

Commit f8d835e

Browse files
committed
Fix zlib path for zlib-ng
1 parent 6c19948 commit f8d835e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cpython-windows/build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,8 @@ def hack_props(
370370
libffi_path = td / "libffi"
371371
tcltk_path = td / ("cpython-bin-deps-%s" % tcltk_commit)
372372
xz_path = td / ("xz-%s" % xz_version)
373-
zlib_path = td / ("%s-%s" % (zlib_entry, zlib_version))
373+
zlib_prefix = "cpython-bin-deps-" if zlib_entry == "zlib-ng" else ""
374+
zlib_path = td / ("%s%s-%s" % (zlib_prefix, zlib_entry, zlib_version))
374375
mpdecimal_path = td / ("mpdecimal-%s" % mpdecimal_version)
375376

376377
openssl_root = td / "openssl" / arch

0 commit comments

Comments
 (0)