views:

49

answers:

2

Hello guys, 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)

A: 

Yes, of course.

wRAR
+3  A: 

Sure, just link with it like any other library

gcc -L/path/to/lib -lProject -o moduleProject.so
R Samuel Klatchko