Add support for i686, aarch64 and riscv64 to SharedLibsRule
Add support for some non-x86 architectures.
It tries to guess e_machine
and EI_CLASS
based on the current machine type and ldconfig -p
output, and matches shared libraries based on "arch identifiers" (which are basically tuples of e_machine
and EI_CLASS
).