Open
Description
Basically means we need to rewrite part of the functionalities patchelf provides in Rust!
https://github.com/PyO3/maturin/blob/main/src/auditwheel/patchelf.rs
-
patchelf --print-rpath
, replace with goblin, easy one: Use goblin instead of shelling out to patchelf to get rpath #1139 -
patchelf --set-rpath
andpatchelf --remove-rpath
, edit runtime path -
patchelf --set-soname
, change ELF shared library name -
patchelf --replace-needed
, replace name of shared library dependencies