Fuse shared libraries into ELFs

1 Like

Since patchelf is so popular in this community, I thought I’d post a similar tool that I’ve been meaning to write (AI disclaimer) for a while. It takes an ELF executable and merges shared libraries back in, as if they were statically linked in the first place.

Perhaps the README should include some motivation? Say, examples of use cases where you find this approach good?

Yeah, good idea. Usually you would just rebuild with the necessary -l:libexample.a, but some build systems make this really unpleasant.