Converting a shared library to a static library

How to convert a shared library to a static library? I am trying to statically build valgrind, which requires converting shared objects to static libraries. The normal build procedure valgrind creates several shared libraries. Is there a way to convert these shared libraries (.so) to a static library?

+4
source share
1 answer

I believe it is possible that you can do this. But since you can just create a static library, not a shared library, I donโ€™t think you will find a conversion tool.

0
source

Source: https://habr.com/ru/post/1332316/


All Articles