glfs/xincludes/cmake-skip-install-rpath.xml

15 lines
688 B
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
<!-- https://wiki.debian.org/RpathIssue/
https://security.stackexchange.com/questions/161799/ -->
<para>
<parameter>-DCMAKE_SKIP_INSTALL_RPATH=ON</parameter>: This switch
makes <command>cmake</command> remove hardcoded library search paths
(rpath) when installing a binary executable file or a shared library.
This package does not need rpath once it's installed into the standard
location, and rpath may sometimes cause unwanted effects or even
security issues.
</para>