Re: [PATCH 5/6] ld.so.8: document $PLATFORM and $LIB expansion

Jonathan Nieder
2012-04-16T16:59:45Z

Mike Frysinger wrote:
> On Friday 21 October 2011 01:25:28 Jonathan Nieder wrote:

>> What would a person typically use ${LIB} in an rpath for?
>
> it's useful when you want to preload a library for multiple process types.
> why this would get used in an RPATH tag, i can't really guess

Ah, that makes sense. So it's for consistency with LD_LIBRARY_PATH
and LD_PRELOAD.