Skip to content
Advertisement

Tag: static-libraries

Why libtool runs ranlib for a static library installation?

I’m trying to understand why libtool runs ranlib when installing a static library. This is an example from the link: https://www.gnu.org/software/libtool/manual/html_node/Installing-libraries.html But, isn’t the index table already created and shouldn’t it be just a simple copy operation? I found running ranlib at the end of the copy redundant as the library already has an index. Thanks. Answer Back in the

Advertisement