Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add configure option NO_DEFAULT_RPATH
The currently used compiler settings explicitly set RPATH to installed binaries which is not desired behaviour in some circumstances, e.g. OpenEmbedded's QA checks report an issue about redundant RPATH set to the standard '/usr/lib' directory. This patch adds the configure option NO_DEFAULT_RPATH which is ON by default in order to preserve the current behaviour, but when set to OFF make CMake use its default RPATH settings, that is set RPATH for the binaries in the build tree, but clear them out for installed binaries. Signed-off-by: Dmitry Rozhkov <[email protected]>
- Loading branch information