Skip to content

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

Merged
davidhewitt merged 1 commit intoPyO3:mainfrom
davidhewitt:macos-link-args
Aug 11, 2023
Merged

set macos link args to fix bin + lib combination#351
davidhewitt merged 1 commit intoPyO3:mainfrom
davidhewitt:macos-link-args

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!

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