On Fri, Nov 07, 2014 at 10:20:15AM +0100, Ludovic Courtès wrote:
> Our ld-wrapper is ineffective when the .so file names are passed
> directly like this.  That is, ld-wrapper adds -rpath for any -l switch,
> but it does not add -rpath for libraries whose absolute file name is
> specified.
> 
> That could be easily fixed, but in core-updates.
> 
> > But no "-Wl,-rpath" despite
> >    -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE
> > Does this mean that this option only honours paths coming from "-l", while
> > at the same time using "-l" is unusual with cmake?
> 
> Uh.  While we can improve ld-wrapper, the best would of course be to get
> CMake to do the right thing...

Following our discussion, I think that indeed the flag
   -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE
does nothing at all, and that our ld-wrapper is doing all the work indeed.

Andreas


Reply via email to