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

Link python3.lib instead of python3x.lib on Windows in abi3 mode #1207

Merged
merged 2 commits into from
Sep 28, 2020

Conversation

alex
Copy link
Contributor

@alex alex commented Sep 23, 2020

Without this, on windows we'd link python35.lib (for example) which doesn't exist on other pythons of course :-)

@alex
Copy link
Contributor Author

alex commented Sep 23, 2020

It looks like we still rely on a few things that aren't present in python3.lib. I'll add more more commits to this to fix it and we can split them out into a separate PR if it's too much.

@alex alex marked this pull request as draft September 23, 2020 12:47
@alex alex force-pushed the abi3-link-python3 branch from 381904e to 15d9561 Compare September 23, 2020 14:14
@alex alex marked this pull request as ready for review September 23, 2020 14:32
Copy link
Member

@kngwyu kngwyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except for a formatting thing, thanks!

tests/test_pyfunction.rs Outdated Show resolved Hide resolved
@alex alex force-pushed the abi3-link-python3 branch from 15d9561 to 5960770 Compare September 24, 2020 02:29
@alex alex force-pushed the abi3-link-python3 branch from 5960770 to c22dd6c Compare September 24, 2020 02:30
@alex
Copy link
Contributor Author

alex commented Sep 24, 2020

Ok, green now!

@alex alex mentioned this pull request Sep 27, 2020
6 tasks
@kngwyu kngwyu merged commit 0fde737 into PyO3:abi3 Sep 28, 2020
@alex alex deleted the abi3-link-python3 branch September 28, 2020 12:53
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.

2 participants