The problem is that the -whole-archive option is used when using addWebKit2Lib to link libWebKit2.a to a target. Since all objects are included, those that relies on using WebCore's internals results in unresolved symbols if those internals are not in the target as well. This is currently a problem with WebKitTestRunner's InjectedBundle which needs the WebKit2 shared API included in libWebKit2.a
Created attachment 70085 [details] Patch
Comment on attachment 70085 [details] Patch Clearing flags on attachment: 70085 Committed r69397: <http://trac.webkit.org/changeset/69397>
All reviewed patches have been landed. Closing bug.