mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-21 11:45:07 +01: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>
|
<screen><userinput>rm -rf /usr/share/{info,man,doc}/*</userinput></screen>
|
||||||
|
|
||||||
<para>Second, the libtool .la files are only useful when linking with static
|
<para>Second, on a modern Linux system, the libtool .la files are only
|
||||||
libraries. They are unneeded and potentially harmful when using dynamic
|
useful for libltdl. No libraries in LFS are expected to be loaded by
|
||||||
shared libraries, especially when using non-autotools build systems.
|
libltdl, and it's known that some .la files can cause BLFS packages
|
||||||
While still in chroot, remove those files now:</para>
|
fail to build. Remove those files now:</para>
|
||||||
|
|
||||||
<screen><userinput>find /usr/{lib,libexec} -name \*.la -delete</userinput></screen>
|
<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
|
<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"
|
directories with a file name extension of .la. These are "libtool archive"
|
||||||
files. As already said, they are only useful when linking with static
|
files. As already said, on a modern Linux system the libtool .la files are
|
||||||
libraries. They are unneeded when using ELF dynamic shared libraries, and
|
only useful for libltdl. No libraries in LFS are expected to be loaded
|
||||||
it's known they can cause BLFS packages fail to build.
|
by libltdl, and it's known that some .la files can cause BLFS packages
|
||||||
To remove them, run:</para>
|
fail to build. Remove those files now:</para>
|
||||||
|
|
||||||
<screen><userinput>find /usr/lib /usr/libexec -name \*.la -delete</userinput></screen>
|
<screen><userinput>find /usr/lib /usr/libexec -name \*.la -delete</userinput></screen>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user