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

pyo3-build-config: fix build for windows gnu targets #1759

Closed
wants to merge 5 commits into from

Conversation

davidhewitt
Copy link
Member

This PR tweaks the logic from #1423 to use mingw lib names only if sysconfig.get_platform() returns "mingw".

It's built on top of #1758, because I did a lot of changes in that PR and I didn't want to have to rebase 😅. Only the last commit is relevant for this PR.

Fixes PyO3/setuptools-rust#147

cc @Quogu - I verified this appears to work locally. If you have the chance to check this patch with your use case in the next couple days before I put PyO3 0.14.2 live, it'd be great to have confirmation this resolves your issue.

@davidhewitt
Copy link
Member Author

Cherry-picked this onto #1758 to write more test coverage.

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.

Can't build using x86_64-pc-windows-gcc
3 participants