Linking library to library...

In this case you have to use OBJECT libraries to aggregate all objects in various static libraries.