[Webkit-unassigned] [Bug 181695] Possible to build both libjavascriptcoregtk and libwebkit2gtk as static libs only?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 20 09:28:31 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=181695

--- Comment #9 from Michael Catanzaro <mcatanzaro at igalia.com> ---
My recommendation would be to just delete Source/ThirdParty/xdg-mime so that you get glib's copy of it... then try moving the xdgmime.h header somewhere into WebKit's include path. I think it should work.

(In reply to Stefan Fröberg from comment #8)
> Hmmm.... would symbol hidding maybe solve that issue? If I understanded
> right, only the xdgmime.h has stuff that should be a public API and
> everything else could be hidden ? Including the extern XdgMimeCache
> **_caches; variable from xdgmimecache.h ?

I imagine static linking to two different copies of xdgmime will break somehow, and the caches variable looks like a pretty good candidate....

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180120/ba8a8f91/attachment.html>


More information about the webkit-unassigned mailing list