Skip to content

Conversation

@zanieb
Copy link
Member

@zanieb zanieb commented Nov 21, 2025

The goal here is to construct two upstreamable patches

  1. Add a --enable-relocatable configure flag to gate new behavior
  2. Add linker options for relocatablity (i.e., rpath) to the CPython build behind the above flag

As a PoC, we apply these patches here for Python 3.15 and skip our post-build relocatability patchelf invocations.

@zanieb zanieb force-pushed the zb/relocatable-flag branch from c2e856d to d715fa3 Compare November 21, 2025 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform:darwin Specific to the macOS platform platform:linux Specific to the Linux platform python:3.15

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants