source: xincludes/cmake-skip-install-rpath.xml@ 846bcc9

trunk
Last change on this file since 846bcc9 was 846bcc9, checked in by Xi Ruoyao <xry111@…>, 3 weeks ago

Add xinclude for -DCMAKE_SKIP_INSTALL_RPATH explanation and use it

Always use "ON" for this boolean value.

Why does cmake allow too many boolean values (ON/OFF, TRUE/FALSE,
YES/NO) anyway?!

  • Property mode set to 100644
File size: 688 bytes
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
4
5 <!-- https://wiki.debian.org/RpathIssue/
6 https://security.stackexchange.com/questions/161799/ -->
7 <para>
8 <parameter>-DCMAKE_SKIP_INSTALL_RPATH=ON</parameter>: This switch
9 makes <command>cmake</command> remove hardcoded library search paths
10 (rpath) when installing a binary executable file or a shared library.
11 This package does not need rpath once it's installed into the standard
12 location, and rpath may sometimes cause unwanted effects or even
13 security issues.
14 </para>
Note: See TracBrowser for help on using the repository browser.