Try even harder not to static link WTF into libwebkit2gtk. We don't want two copies of WTF. It should only be in libjavascriptcoregtk. Yesterday I found it was being linked into PAL. Today I noticed it's being linked directly into WebCore as well. Build systems are full of landmines.
When we have this fully solved, then I *think* we should be able to turn on -fvisibility=hidden and -fvisibility-inlines=hidden again.
Created attachment 331524 [details] Patch
(In reply to Michael Catanzaro from comment #0) > Build systems are full of landmines. An interesting property of CMake build systems is that so long as anyone other than Konstantin is allowed to touch the build files, it will never work entirely as intended. I think I'm making some forward progress here, but perhaps I'm delusional....
Committed r227089: <https://trac.webkit.org/changeset/227089>