Skip to content

Commit

Permalink
Fix bug when targeting non-x86_64 linux platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
jvolkman committed Jan 31, 2024
1 parent ef0df29 commit 28ee1e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repairwheel/linux/repair.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def get_machine_from_wheel(wheel: Path) -> str:
if platform.endswith("x86_64"):
return "x86_64"
else:
return platform.rsplit("_", 1)[0]
return platform.rsplit("_", 1)[1]


def repair(wheel_file: Path, output_dir: Path, lib_path: List[Path], verbosity: int = 0) -> None:
Expand Down

0 comments on commit 28ee1e8

Please sign in to comment.