Subject: Re: [bug#43182] [PATCH 3/3] gnu: nomad: Update to 0.2.0-alpha-100-g6a565d3.

From: Mike Rosset <[email-masked]>
Date: Mon, 07 Sep 2020 09:24:28 -0700

Ricardo Wurmus <[email-masked]> writes:

> Mike Rosset <[email-masked]> writes:
>
>>
>> No, web extension is a GTK term for extending the WebKit process
>> which runs outside of the GTK/Glib process.
>>
>> The extensions are dynamic libraries and you need to tell the
>> WebKitWebContext where to look for them. Normally I'd just substitute
>> in the $(libexecdir).  But we need to use the libs in the build directory for
>> testing.  And I can't use libtool --mode=execute -dlopen. Because the
>> WebKit process does the dlopen.
>
> During the build you could use LD_LIBRARY_PATH, no?

No, The WebKitWebContext only uses the directory that is set by
webkit_web_context_set_web_extensions_directory. See
https://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebContext.html#webkit-web-context-set-web-extensions-directory.