readline: Get rid of rpath

This commit is contained in:
Xi Ruoyao 2024-06-09 20:03:35 +08:00
parent 4ef406e2fa
commit 2ef9beaf92
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -49,6 +49,13 @@
<screen><userinput remap="pre">sed -i '/MV.*old/d' Makefile.in
sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
<para>Prevent hard coding library search paths (rpath) into
the shared libraries. This package does not need rpath for an
installation into the standard location, and rpath may sometimes cause
unwanted effects or even security issues:</para>
<screen><userinput>sed -i 's/-Wl,-rpath,[^ ]*//' support/shobj-conf</userinput></screen>
<para>Now fix a problem identified upstream:</para>
<screen><userinput remap="pre">patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>