[gentoo-user] Re: [OT] How to add library to dynamically linked executable?

2015-06-22 Thread Grant Edwards
On 2015-06-22, walt wrote: > On 06/22/2015 10:16 AM, Matti Nykyri wrote: >> Also you can write a c program that modifies the elf executable, but >> i don't think you need to for this problem. > > There is dev-util/patchelf, which sounds relevant, but I've never used it. Yep. The 0.8 version with

[gentoo-user] Re: [OT] How to add library to dynamically linked executable?

2015-06-22 Thread walt
On 06/22/2015 10:16 AM, Matti Nykyri wrote: > Also you can write a c program that modifies the elf executable, but > i don't think you need to for this problem. There is dev-util/patchelf, which sounds relevant, but I've never used it.

[gentoo-user] Re: [OT] How to add library to dynamically linked executable?

2015-06-22 Thread Grant Edwards
On 2015-06-22, Bryan Gardiner wrote: [...] > Actually, scratch all that, NixOS's patchelf command[4] supports > editing NEEDED entries now, that'll be the easiest way. [...] > [4] https://github.com/NixOS/patchelf Yes! That's exactly what I was looking for, but just couldn't come up with the