RESOLVED FIXED 190398
[WPE] Explicitly link against gmodule where used
https://bugs.webkit.org/show_bug.cgi?id=190398
Summary [WPE] Explicitly link against gmodule where used
Claudio Saavedra
Reported 2018-10-09 08:16:07 PDT
[WPE] Explicitly link against gmodule where used
Attachments
Patch (2.16 KB, patch)
2018-10-09 08:16 PDT, Claudio Saavedra
no flags
Claudio Saavedra
Comment 1 2018-10-09 08:16:54 PDT
Claudio Saavedra
Comment 2 2018-10-09 08:18:01 PDT
I ran into linking issues downstream because gmodule was not being pulled in, so let's add this. Not sure if it's needed for GTK+, but maybe yes.
Adrian Perez
Comment 3 2018-10-09 10:13:00 PDT
(In reply to Claudio Saavedra from comment #2) > I ran into linking issues downstream because gmodule was not being pulled > in, so let's add this. Not sure if it's needed for GTK+, but maybe yes. I think the linking error is noticeable more easily in the WPE port because GModule is used in JSC to load “libWPEInspectorResources.so”, which gets built first, but then it's used also in WebKit's “ModuleGlib.cpp” and “InjectedBundleGlib.cpp” so both ports en up using it. It could be that in the case of the GTK+ port some of the additional libraries used by the sources in the “WebKit/” subdir also use GModule, and that's why we don't see linker errors there. At any rate, the correct thing to do is explicitly adding the GModule flags obtained from pkg-config to the targets which use them, so let's land this (informal r+ here!)
Adrian Perez
Comment 4 2018-10-09 10:14:22 PDT
FWIW, the GTK+ port already has GModule in “Source/WebCore/PlatformGTK.cmake”, so no changes should be needed for the GTK+ port.
WebKit Commit Bot
Comment 5 2018-10-09 12:25:25 PDT
Comment on attachment 351879 [details] Patch Clearing flags on attachment: 351879 Committed r236975: <https://trac.webkit.org/changeset/236975>
WebKit Commit Bot
Comment 6 2018-10-09 12:25:26 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.