glfs/xincludes/cmake-skip-install-rpath.xml
Zeckmathederg f5fafdb2af Addressed part of Issue #11.
Invoked -D CMAKE_SKIP_INSTALL_RPATH=ON for: Vulkan-Loader, LLVM, and SPIRV-LLVM-Tranlator.

Also added xinclude for -D CMAKE_SKIP_INSTALL_RPATH=ON.
2024-07-04 23:09:34 -06:00

15 lines
688 B
XML

<?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>