OSDN Git Service

handle installation without RPATH on UNIX properly
authorIvailo Monev <xakepa10@gmail.com>
Wed, 30 Dec 2015 20:45:32 +0000 (22:45 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Wed, 30 Dec 2015 20:45:32 +0000 (22:45 +0200)
commitb5347a5613a54f2f451814476850160d5d50669e
tree47dfc3c1097eb188e6bebd24a9345d7eb96002fb
parent36ee28ba998f67c556b24f5adec55df44df65063
handle installation without RPATH on UNIX properly

the custom ld.so.conf file ensures that the Katie libraries get
registered in the cache so that when installed in location other than
/usr/lib or other standard libraries path executables can operate.

Even the default libraries path (/usr/local/lib/katie) is
non-standard and requires the config, unless CMAKE_SKIP_INSTALL_RPATH
if set to ON but because RPATH is considered security issue it is
unlikely that binary distributors will turn it on when building Katie

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
CMakeLists.txt
cmake/ld.so.conf.cmake [new file with mode: 0644]