The ar utility isn’t a linker - it just collects object files. I don’t believe it has any concept of matching symbols up to exported symbols in external shared libraries (like JavaScriptCore for WTF).
(But of course someone can correct me if I’m wrong.) —Myles > On Jan 14, 2017, at 1:38 PM, Darin Adler <da...@apple.com> wrote: > >> On Jan 14, 2017, at 12:39 PM, Myles C. Maxfield <mmaxfi...@apple.com> wrote: >> >> However, a shared library would enforce layering naturally, whereas a static >> library would need either an application to link to it and not to WebCore, >> such as a unit test suite, or some out-of-band layering enforcement, like a >> Python script. > > I’m surprised to learn this. There is no way to build a static library that > gives us linker errors if there are unresolved references? > > — Darin _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev