Skip to content

Commit

Permalink
Merge pull request #1993 from messense/mingw
Browse files Browse the repository at this point in the history
Fix mingw platform detection
  • Loading branch information
davidhewitt committed Nov 15, 2021
2 parents 3044bd9 + 2325c28 commit 543f4c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Fix creating `#[classattr]` by functions with the name of a known magic method. [#1969](https://github.com/PyO3/pyo3/pull/1969)
- Fix mingw platform detection. [#1993](https://github.com/PyO3/pyo3/pull/1993)

## [0.15.0] - 2021-11-03

Expand Down
2 changes: 1 addition & 1 deletion pyo3-build-config/src/impl_.rs
Expand Up @@ -202,7 +202,7 @@ print_if_set("libdir", get_config_var("LIBDIR"))
print_if_set("base_prefix", base_prefix)
print("executable", sys.executable)
print("calcsize_pointer", struct.calcsize("P"))
print("mingw", get_platform() == "mingw")
print("mingw", get_platform().startswith("mingw"))
"#;
let output = run_python_script(interpreter.as_ref(), SCRIPT)?;
let map: HashMap<String, String> = parse_script_output(&output);
Expand Down

0 comments on commit 543f4c1

Please sign in to comment.