[lfs] branch trunk updated: sqlite: Get rid of rpath

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <175959173987.24571.11228970726688421547@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new edfcaff9b sqlite: Get rid of rpath
edfcaff9b is described below

commit edfcaff9bf79a8aa9b70e6678a5c9958823ba93f
Author: Xi Ruoyao <[email protected]>
AuthorDate: Sat Oct 4 23:26:07 2025 +0800

    sqlite: Get rid of rpath
---
 chapter08/sqlite.xml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/chapter08/sqlite.xml b/chapter08/sqlite.xml
index e01eded51..dde49fa29 100644
--- a/chapter08/sqlite.xml
+++ b/chapter08/sqlite.xml
@@ -56,7 +56,7 @@
                       -D SQLITE_ENABLE_DBSTAT_VTAB=1     \
                       -D SQLITE_SECURE_DELETE=1"</userinput></screen>
     <variablelist>
-      <title>The meaning of the make option:</title>
+      <title>The meaning of the configure options:</title>
 
       <varlistentry>
         <term><parameter>--enable-fts{4,5}</parameter></term>
@@ -81,7 +81,13 @@
 
     <para>Compile the package:</para>
 
-<screen><userinput remap="make">make</userinput></screen>
+<screen><userinput remap="make">make LDFLAGS.rpath=""</userinput></screen>
+
+    <para>The <parameter>LDFLAGS.rpath=""</parameter> option prevents
+    hard coding library search paths (rpath) into the shared library.
+    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>
 
     <para>This package does not come with a test suite.</para>
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.