patchelf 0.2.1

patchelf rust bindings
Documentation
  • Coverage
  • 2.17%
    1 out of 46 items documented0 out of 21 items with examples
  • Size
  • Source code size: 1.86 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 125.09 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • spinpx/patchelf-rs
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • spinpx

patchelf-rs

Crates.io docs.rs

Rust FFI for patchelf that we can call patchelf directly in a dirty way.

[dependencies]
patchelf = "0.2.1"

Usage

  • set soname
PatchElf::config()
   .input("libpng.so")
   .output("libpng2.so")
   .set_soname("libpng2.so")
   .patch();
  • print soname
PatchElf::config()
   .input("libz.so")
   .print_soname()
   .patch();

Seed doc for more usages.