[PATCH] builds libs by default with full RPATH

Alexander Neundorf neundorf at kde.org
Sun Dec 16 10:34:25 CET 2007


Hi,

attached you can find a small patch which changes the default value of the 
option KDE4_USE_ALWAYS_FULL_RPATH from OFF to ON.
A better name for that option would be "KDE_BUILD_LIBS_WITH_RPATH", then I 
wouldn't have to explain what it does.

Pros: libs should always have the correct RPATH
Cons: "make install" will take longer, since libs then also have to be 
relinked (as long as cmake without chrpath support is used)

Alex

P.S. actually I'm thinking about removing this option completely and build 
libs always with RPATH. People who don't like RPATH can still enable 
CMAKE_SKIP_RPATH to have no RPATH at all.
Comments ?

P.P.S. the change with the -Wl,--enable-new-dtags is not committed yet, 
right ? Are there reasons which speak against it ?

P.P.P.S. is it actually good enough to send this patch here or should it go to 
k-c-d, since we already had RC2 ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpath.patch
Type: text/x-diff
Size: 716 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20071216/2799382d/attachment.bin 


More information about the Kde-buildsystem mailing list