Can I statically link a shared library?

You can’t statically link a shared library (or dynamically link a static one). The flag -static will force the linker to use static libraries (. a) instead of shared (. so) ones.

Sizin İçin Seçtik  Where does gcc Look for shared libraries?

Leave a Reply

Your email address will not be published. Required fields are marked *