Skip to content

Commit d33c58b

Browse files
committed
Attempt to disable system libmpdec on Windows
1 parent 10ee020 commit d33c58b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cpython-windows/build.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1599,6 +1599,11 @@ def build_cpython(
15991599
if not meets_python_minimum_version(python_version, "3.12"):
16001600
args.append("--include-distutils")
16011601

1602+
# CPython 3.13+ no longer uses a bundled libmpdec by default
1603+
# TODO(zanieb): We should use the system libmpdec as we do for Unix builds
1604+
if meets_python_minimum_version(python_version, "3.13"):
1605+
args.append("--with-system-libmpdec=no")
1606+
16021607
args.extend(["--include-idle", "--include-stable", "--include-tcltk"])
16031608

16041609
exec_and_log(

0 commit comments

Comments
 (0)