I'm doing an iPhone plugin project where I build a static library, let's call it lib1.a, which I provide to other programmers.
When they link lib1.a into their project, they may also link lib2.a, which they build themselves based on a header file I give them. This header only contains a "hook" function which instantiates an obj-c object.
This all works fine, but I'd like for the project linking lib1.a not to have to link lib2.a. Keep in mind that iOS only supports static libraries, and I don't want to provide several versions of lib1.a.