diff --git a/chapter08/readline.xml b/chapter08/readline.xml index 1fb7474c1..d1c385bbc 100644 --- a/chapter08/readline.xml +++ b/chapter08/readline.xml @@ -49,6 +49,13 @@ sed -i '/MV.*old/d' Makefile.in sed -i '/{OLDSUFF}/c:' support/shlib-install + 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: + +sed -i 's/-Wl,-rpath,[^ ]*//' support/shobj-conf + Now fix a problem identified upstream: patch -Np1 -i ../&readline-fixes-patch;