Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly pass DYLD_LIBRARY_PATH to delocate #8672

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Jan 8, 2025

Resolves #8671. Alternative to #8673

In #8500, I added

DYLD_LIBRARY_PATH = "$(pwd)/build/deps/darwin/lib"

However, there is a known problem where using DYLD_LIBRARY_PATH with cibuildwheel doesn't propagate to delocate - https://cibuildwheel.pypa.io/en/stable/faq/#macos-passing-dyld_library_path-to-delocate

This isn't a problem in our CI job, but apparently is when running cibuildwheel locally.

This PR uses the suggested fix from cibuildwheel.

@freakboy3742
Copy link
Contributor

For the benefit of reviewers - #8673 implements the @rpath removal approach mentioned in the PR description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Delocate error when building Pillow on macOS
2 participants