Is there a ma开发者_开发知识库kefile modification which can help me load a shared library(*.so file) statically?
You can't link a shared library statically (or share a static one); they're different animals. What you can do is build a static library from the object files, or if that's not possible you can convert a shared library into a static one with a tool like Statifier, then link that.
A makefile is a kind of scripting tool; it automates tasks you could do by hand. You must figure out how to do something by hand before you ask Make to do it.
精彩评论