Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions newsfragments/5571.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix linking with libpython under Cygwin
Bumped `target-lexicon` dependency to 0.13.3 for Cygwin support.
4 changes: 2 additions & 2 deletions pyo3-build-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ rust-version.workspace = true

[dependencies]
python3-dll-a = { version = "0.2.12", optional = true }
target-lexicon = "0.13"
target-lexicon = "0.13.3"

[build-dependencies]
python3-dll-a = { version = "0.2.12", optional = true }
target-lexicon = "0.13"
target-lexicon = "0.13.3"

[features]
default = []
Expand Down
1 change: 1 addition & 0 deletions pyo3-build-config/src/impl_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,7 @@ pub fn is_linking_libpython_for_target(target: &Triple) -> bool {
|| target.operating_system == OperatingSystem::Aix
|| target.environment == Environment::Android
|| target.environment == Environment::Androideabi
|| target.operating_system == OperatingSystem::Cygwin
|| !is_extension_module()
}

Expand Down
Loading