[uClibc] Re: [RFC] RUNPÃATH config option for ld.so
Peter S. Mazinger
ps.m at gmx.net
Mon Jun 27 10:51:48 UTC 2005
>
> On Sunday 26 June 2005 07:08 am, Joakim Tjernlund wrote:
> > > On Sunday 26 June 2005 05:26 am, Joakim Tjernlund wrote:
> > > > > On Saturday 25 June 2005 03:28 am, Erik Andersen wrote:
> > > > > > On Sat Jun 25, 2005 at 02:22:08AM -0400, Mike Frysinger wrote:
> > > > > > > +config LDSO_RUNPATH_FULL
> > > > > > > + bool "FULL"
> > > > > > > + help
> > > > > > > + Respect all RUNPATH's regardless (same behavior as glibc).
> > > > > > > +config LDSO_RUNPATH_SAFE
> > > > > > > + bool "SAFE"
> > > > > > > + help
> > > > > > > + Only respect RUNPATH's which contain absolute paths.
> > > > > > > +config LDSO_RUNPATH_NONE
> > > > > > > + bool "NONE"
> > > > > > > + help
> > > > > > > + Disable RUNPATH support all together.
> > > > > > > +endchoice
> > > > > >
> > > > > > BTW, I think this is too many choices for no real benefit....
> > > > > > IMHO it should be all or nothing.
> > > > >
> > > > > i offered one more option ('safe') than you guys wanted ... the back
> > > > > end is trivial to support this, it'd require one ifdef around a path
> > > > > check ...
> > > >
> > > > show us please.
> > >
> > > attached
> >
> > This also does the same to LD_LIBRARY_PATH.
>
> inttended side effect ... wrapper scripts often do things like 'export
> LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:blahblah' which, much more often than not,
> evaluate to ":blahblah" ...
> -mike
The svn version is corrected already to handle this
Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the uClibc
mailing list