maturin icon indicating copy to clipboard operation
maturin copied to clipboard

Repair Linux wheels without external patchelf dependency

Open messense opened this issue 3 years ago • 0 comments

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

  • [x] patchelf --print-rpath, replace with goblin, easy one: https://github.com/PyO3/maturin/pull/1139
  • [ ] patchelf --set-rpath and patchelf --remove-rpath, edit runtime path
  • [ ] patchelf --set-soname, change ELF shared library name
  • [ ] patchelf --replace-needed, replace name of shared library dependencies

messense avatar Sep 26 '22 06:09 messense