[CMake] Rpath removed from installed libraries?

George Petasis petasisg at yahoo.gr
Wed Jul 9 15:07:24 EDT 2008


Hi all,

I am trying to build a shared library under linux, with INSTALL_RPATH_USE_LINK_PATH ON. When the library is built, -Wl,-rpath,... is added to the compiler flags. Also,
I can see the rpath of the built with "readelf -d".
But the installed shared library has no rpath, and "readelf -d" does not show any rpath.
Why is rpath information removed during installation?
How can I avoid this?

George





      
___________________________________________________________ 
Χρησιμοποιείτε Yahoo!; 
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail 
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών 
μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080709/7396c089/attachment.htm>


More information about the CMake mailing list