From: Paul K. <pki...@us...> - 2004-09-10 04:18:51
|
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 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 |