Add Library\mingw-w64 to Windows search path (#10643)

This commit is contained in:
jakirkham
2024-07-29 14:17:59 -07:00
committed by GitHub
parent 449be7a402
commit d4b82f50ab
2 changed files with 6 additions and 0 deletions

View File

@@ -138,6 +138,9 @@ def locate_or_build_libxgboost(
sys_prefix / "Library",
sys_prefix / "Library" / "bin",
sys_prefix / "Library" / "lib",
sys_prefix / "Library" / "mingw-w64",
sys_prefix / "Library" / "mingw-w64" / "bin",
sys_prefix / "Library" / "mingw-w64" / "lib",
]
sys_prefix_candidates = [
p.expanduser().resolve() for p in sys_prefix_candidates