rez.utils.elf

Functions that wrap readelf/patchelf utils on linux.

rez.utils.elf.get_rpaths(elfpath: str) list[str]

Get rpaths/runpaths from header.

rez.utils.elf.patch_rpaths(elfpath, rpaths) None

Replace an elf’s rpath header with those provided.