Shared & Static Libraries and Libtool Files

Hans Malissa <[email protected]> Tue, 30 Oct 2018 19:26:54 GMT
Newsgroups gmane.linux.lfs.general
Message-ID <[email protected]>
Hi all,

I'm reading BLFS (8.3 systemd), Chapter 2, the sections about libraries (*.so vs. *.a) and libtool files (*.la). (Also in LFS 8.3 systemd, section 6.79.)
Not sure if I understand this correctly: (1) the static (*.a) libraries get built sometimes, they aren't needed, but they're not going to do any harm if I don't remove them; (2) the libtool (*.la) files also get built, and it's better to remove those because they might interfere with other build processes. Is that about right?
And the 'remove-la-files.sh' script is supposed to clean up the *.la files. So is the best strategy to run the script every time I build some package? Or just from time to time? Or just for specific packages?
Greetings,

Hans

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page