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 /chapter07/cleanup.xml | |
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.
Diffstat (limited to 'chapter07/cleanup.xml')
-rw-r--r-- | chapter07/cleanup.xml | 8 |
1 files changed, 4 insertions, 4 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> |