RESOLVED FIXED 181751
[GTK] Try even harder not to static link WTF into libwebkit2gtk
https://bugs.webkit.org/show_bug.cgi?id=181751
Summary [GTK] Try even harder not to static link WTF into libwebkit2gtk
Michael Catanzaro
Reported 2018-01-17 11:19:23 PST
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.
Attachments
Patch (1.21 KB, patch)
2018-01-17 11:21 PST, Michael Catanzaro
achristensen: review+
Michael Catanzaro
Comment 1 2018-01-17 11:20:01 PST
When we have this fully solved, then I *think* we should be able to turn on -fvisibility=hidden and -fvisibility-inlines=hidden again.
Michael Catanzaro
Comment 2 2018-01-17 11:21:08 PST
Michael Catanzaro
Comment 3 2018-01-17 11:22:58 PST
(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....
Michael Catanzaro
Comment 4 2018-01-17 15:16:32 PST
Note You need to log in before you can comment on or make changes to this bug.