blob: 64c091d45fdfdda1ef6b58bb2c5dbceda1266e51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -671,6 +671,7 @@ ephy_embed_shell_create_web_context (EphyEmbedShell *shell)
g_free (cache_dir);
priv->web_context = webkit_web_context_new_with_website_data_manager (manager);
+ webkit_web_context_set_additional_plugins_directory (priv->web_context, EPHY_PLUGINS_DIR);
g_object_unref (manager);
}
--- a/embed/Makefile.am.orig 2017-04-08 12:22:50.192861523 +0000
+++ b/embed/Makefile.am 2017-04-08 12:23:13.926290709 +0000
@@ -61,6 +61,7 @@
-I$(top_srcdir)/lib/widgets \
-I$(top_srcdir)/libgd \
-DPKGDATADIR=\"$(pkgdatadir)\" \
+ -DEPHY_PLUGINS_DIR=\""$(libdir)/epiphany/plugins"\" \
-DEPHY_WEB_EXTENSIONS_DIR=\"$(pkglibdir)/web-extensions\" \
$(GDK_CFLAGS) \
$(GIO_CFLAGS) \
|