diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-09-19 14:12:17 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-09-19 14:12:17 +0800 |
commit | 3d65730e220e697fad48dc8d1b0d688a83c8180e (patch) | |
tree | 9e45ecddf8c8d80f02dc07544525e15a6b610dd6 | |
parent | 4e381f952ea2852ae5a357ad1d8fe1842496dccc (diff) |
cleanup: rephrase description for .la removal
Don't emphasis "static library" at all, to prevent anyone from thinking
"I need to use static libraries so I'll keep these .la files". And warn
that .la files are known to break BLFS packages.
-rw-r--r-- | chapter07/cleanup.xml | 8 | ||||
-rw-r--r-- | chapter08/cleanup.xml | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/chapter07/cleanup.xml b/chapter07/cleanup.xml index 6ed78fb93..7946d84eb 100644 --- a/chapter07/cleanup.xml +++ b/chapter07/cleanup.xml @@ -18,10 +18,10 @@ <screen><userinput>rm -rf /usr/share/{info,man,doc}/*</userinput></screen> - <para>Second, the libtool .la files are only useful when linking with static - libraries. They are unneeded and potentially harmful when using dynamic - shared libraries, especially when using non-autotools build systems. - While still in chroot, remove those files now:</para> + <para>Second, on a modern Linux system, the libtool .la files are only + useful for libltdl. No libraries in LFS are expected to be loaded by + libltdl, and it's known that some .la files can cause BLFS packages + fail to build. Remove those files now:</para> <screen><userinput>find /usr/{lib,libexec} -name \*.la -delete</userinput></screen> diff --git a/chapter08/cleanup.xml b/chapter08/cleanup.xml index 9da3828a7..c55b7af2f 100644 --- a/chapter08/cleanup.xml +++ b/chapter08/cleanup.xml @@ -16,10 +16,10 @@ <para>There are also several files installed in the /usr/lib and /usr/libexec directories with a file name extension of .la. These are "libtool archive" - files. As already said, they are only useful when linking with static - libraries. They are unneeded when using ELF dynamic shared libraries, and - it's known they can cause BLFS packages fail to build. - To remove them, run:</para> + files. As already said, on a modern Linux system the libtool .la files are + only useful for libltdl. No libraries in LFS are expected to be loaded + by libltdl, and it's known that some .la files can cause BLFS packages + fail to build. Remove those files now:</para> <screen><userinput>find /usr/lib /usr/libexec -name \*.la -delete</userinput></screen> |