RPATH with multiple empty paths (e.g., ::::::::)

Brad King brad.king at kitware.com
Mon Aug 4 15:13:38 CEST 2008


Dirk Mueller wrote:
> On Sunday 03 August 2008, Gavin Beatty wrote:
> 
>> A lot of KDE libraries are being given strange RPATHs. I'm getting
>> link lines giving this:
> 
> installed or uninstalled libraries? for uninstalled that's normal, cmake 
> reserves some space in the binary to be able to fill in the correct path during 
> installation without relinking (which is somewhat slower). 
> 
> if it breaks your scripts (it breaks mine), 
> 
> -DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON

If someone can tell me how to reserve space in the RPATH entry through
standard linker interfaces and without creating bogus paths, I would
love to use it.  Until then, this is the only option to avoid relinking.

-Brad


More information about the Kde-buildsystem mailing list