Library as dependency for another library
I have a big project compiled into 开发者_开发百科libProject.so-file (shared library), I made some modules (shared libraries too) which use code from all libProject. Can I set libProject as dependence for moduleProject.so file? (gcc)
Sure, just link with it like any other library
gcc -L/path/to/lib -lProject -o moduleProject.so
Yes, of course.
精彩评论