From: <dan...@mc...> - 2004-09-10 04:43:12
|
> On Sep 9, 2004, at 8:03 PM, dan...@mc... wrote: > > >I'm wondering if the mkoctfile script should be extended to allow > >-Rpath or maybe > >-Wl,-Rpath to be passed on to the compiler? I was working on > >something which > >links to a shared lib which may or may not be installed in a place > >where shared > >libs are searched for. Without mkoctfile accepting -Rpath I end up > >having to > >set LD_LIBRARY_PATH. > > > >Basically, the -[lL] line in mkoctfile could be changed to -[lLR]. > > > >Thoughts? > > > >-Dan > > On Fri, Sep 10, 2004 at 12:15:07AM -0400, Paul Kienzle wrote: > You should also be able to do something like: > > RLD_FLAG="-Rpath" mkoctfile ... > > or if you already have some rpath, > > RLD_FLAG="`mkoctfile -p RLD_FLAG`:path" mkoctfile ... > > - Paul > RLD_FLAG is only used if --link-stand-alone is specified (at least in octave-2.1.57 which is what I have installed). -Dan -- |