Skip to content

Commit

Permalink
Attempt to disable system libmpdec on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Sep 4, 2024
1 parent 10ee020 commit d33c58b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cpython-windows/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1599,6 +1599,11 @@ def build_cpython(
if not meets_python_minimum_version(python_version, "3.12"):
args.append("--include-distutils")

# CPython 3.13+ no longer uses a bundled libmpdec by default
# TODO(zanieb): We should use the system libmpdec as we do for Unix builds
if meets_python_minimum_version(python_version, "3.13"):
args.append("--with-system-libmpdec=no")

args.extend(["--include-idle", "--include-stable", "--include-tcltk"])

exec_and_log(
Expand Down

0 comments on commit d33c58b

Please sign in to comment.