mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 03:11:57 +00:00
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.
This commit is contained in:
parent
4e381f952e
commit
3d65730e22
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user