Thanks to visit codestin.com
Credit goes to github.com

Skip to content

extension_testcapi: Ensure python3.lib is generated before linking on Windows #416

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

Merged

Conversation

jcfr
Copy link
Contributor

@jcfr jcfr commented Jun 5, 2025

Follow-up to 5d016e6 ("test_testcapi: Fix build ensuring python3.lib is found", 2025-05-27).

This change adds an explicit dependency on libpython3-shared to ensure that python3.lib is built before linking extension_testcapi, preventing potential link errors due to missing or incomplete import libraries.


This should address error initially reported in:

…on Windows

Follow-up to 5d016e6 ("test_testcapi: Fix build ensuring python3.lib is found", 2025-05-27).

This change adds an explicit dependency on `libpython3-shared` to ensure that
`python3.lib` is built before linking `extension_testcapi`, preventing
potential link errors due to missing or incomplete import libraries.

Co-authored-by: Andras Lasso <[email protected]>
@jcfr jcfr enabled auto-merge (rebase) June 5, 2025 06:06
@jcfr jcfr merged commit 29b4e0f into python-cmake-buildsystem:master Jun 5, 2025
28 checks passed
@jcfr jcfr deleted the fix-extension-testcapi-link branch June 5, 2025 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant