From e3f47a2f7a30ff5a720181dca2a6937f7b58d489 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 9 Jun 2024 19:47:30 +0800 Subject: [PATCH] tcl: Get rid of rpath --- chapter08/tcl.xml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/chapter08/tcl.xml b/chapter08/tcl.xml index fd920e2c9..bfb23c3a8 100644 --- a/chapter08/tcl.xml +++ b/chapter08/tcl.xml @@ -55,7 +55,23 @@ SRCDIR=$(pwd) cd unix ./configure --prefix=/usr \ - --mandir=/usr/share/man + --mandir=/usr/share/man \ + --disable-rpath + + + The meaning of the new configure parameters: + + + --disable-rpath + + This parameter prevents hard coding library search paths + (rpath) into the binary executable files and 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. + + + Build the package: