Reputation: 111
Hi All I wrote a static library (libA) that uses another library (libB). How can I link libB to my libA in eclipse (linux)? i cannot find linkage options in project properties, they are not on there usual place. Thx
Upvotes: 0
Views: 163
Reputation: 20236
Static libraries don't link. They are an archive of object files (.o
files). These archives are then taken as arguments during a linking phase, have their object files extracted and linked into the application at that time. As such, static libraries cannot link against anything.
Upvotes: 1