WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Claudio Saavedra
Comment 1
2018-10-09 08:16:54 PDT
Created
attachment 351879
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug