We dump the library's symbols we're trying to stubify, and then
assemble another library that looks just like it, except with all
of it's innards sucked out.
We also use pkgconfig to find all the relevant dependencies and
to build an entire library tree.