Skip to content

Commit

Permalink
Link libpython for AIX target
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Apr 13, 2024
1 parent ee5216f commit cb6f825
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyo3-build-config/src/impl_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,8 @@ pub fn is_linking_libpython() -> bool {
/// Must be called from a PyO3 crate build script.
fn is_linking_libpython_for_target(target: &Triple) -> bool {
target.operating_system == OperatingSystem::Windows
// See https://github.com/PyO3/pyo3/issues/4068#issuecomment-2051159852
|| target.operating_system == OperatingSystem::Aix
|| target.environment == Environment::Android
|| target.environment == Environment::Androideabi
|| !is_extension_module()
Expand Down

0 comments on commit cb6f825

Please sign in to comment.