[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
Wed Jan 24 16:00:48 PST 2018


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

--- Comment #14 from Stefan Fröberg <sfroberg13 at yahoo.com> ---
Okay I have now given it a test run.

I have now compiled glib 2.55.1 and latest git of glib-networking.
Both compiled succesfully and I have now /usr/lib/gio/modules/libgiognutls.a.

I then tried to link against /usr/lib/gio/modules/libgiognutls.a and run the app but it still gives "TLS/SSL support not available; install glib-networking".

nm gives the following:

nm -s /usr/lib/gio/modules/libgiognutls.a | grep g_io_gnutls_load

g_io_gnutls_load in gnutls-module.c.o
0000000000000000 T g_io_gnutls_load


The https://bugzilla.gnome.org/attachment.cgi?id=366306&action=edit
mentions:

"A module can rename its g_io_module_load() function to
g_io_<modulename>_load(), and then an application which links statically
against that module can call g_io_<modulename>_load(NULL) to register
types and extension points from the module. If a module is loaded
dynamically, its load() function will continue to be called with a
non-NULL GIOModule instance."

So I tried also adding g_io_gnutls_load(NULL) (after adding it's function definition) in the app, relinked and run but still the same.


Gosh...I guess I have to wait till march and Glib 2.56 ...

In the mean time I try to hack with the webgitgtk-2.18.5 sources and try to make the libs smaller :-) (after stripping 94 MB and after UPX 33 MB)

-- 
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/20180125/e459f3f7/attachment.html>


More information about the webkit-unassigned mailing list