astral-sh / astral-sh/python-build-standalone

Upstream patch `patch-macos-link-extension-modules-13.patch`

Open
#870 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.4k
Forks
314
Avg merge
1d 9h
Merged PRs (30d)
27

Description

[`patch-macos-link-extension-modules-13.patch`](https://github.com/astral-sh/python-build-standalone/blob/main/cpython-unix/patch-macos-link-extension-modules-13.patch)

The default build rule for the macOS dylib doesn't pick up libraries from modules/makesetup.

This patch fixes the dylib build to include libraries defined in makesetup.

**Related:**
- [`patch-macos-link-extension-modules.patch`](https://github.com/astral-sh/python-build-standalone/blob/main/cpython-unix/patch-macos-link-extension-modules.patch) (for Python ≤3.12)

Contributor guide

Open the contributing guide

Research direction

Start by reading cpython-unix/patch-macos-link-extension-modules-13.patch and the related patch for Python ≤3.12, then inspect the macOS dylib build rule and modules/makesetup. Done means the dylib build includes the libraries defined in makesetup for the applicable macOS build.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.