Commit Graph

1 Commits

Author SHA1 Message Date
Lumir Balhar 898f7432fb Add support for upstream architectures' names
Pythons in RHEL/Fedora use different names for some architectures
than upstream and other distros (for example ppc64 vs. powerpc64).
See patch 274.
That means that an extension built with the default upstream settings
(on other distro or as an manylinux wheel) cannot be found by Python
on RHEL/Fedora because it has a different suffix.
This patch adds the original names to importlib so Python is able
to import extensions with an original architecture name in its
file name.
2020-08-04 14:04:42 +02:00