The static_to_shared_library function takes an existing static library and produces a shared library based on it.