We currently wrap -Wl,--whole-archive around some libraries to avoid dropping symbols from convenience libraries (libtool used to take care of this for us). Instead of doing that manually we can write a macro to do it for all libraries in a list. This also exposes some situations in which we are over-linking, linking in the same convenience library twice, or compiling the same files into multiple convenience libraries. We should clean all of that up.
Created attachment 225955 [details] Patch
Committed r165378: <http://trac.webkit.org/changeset/165378>