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

set macos link args to fix bin + lib combination #351

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

davidhewitt
Copy link
Member

Adding a build.rs with pyo3_build_config::add_extension_module_link_args() should fix the macOS failures in the new pyproject.toml example.

I had a look if there was a way for us to do this directly in setuptools_rust, but I couldn't see an obvious solution.

@davidhewitt
Copy link
Member Author

cc @messense - if this works then it's presumably a workaround for PyO3/maturin#1080

@davidhewitt
Copy link
Member Author

Success!

@davidhewitt davidhewitt merged commit 4c85178 into PyO3:main Aug 11, 2023
47 checks passed
@davidhewitt davidhewitt deleted the macos-link-args branch August 11, 2023 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant