aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed-single.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/mozilla-embed-single.cpp')
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index 34cc1f0d5..f01fbcab3 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -356,8 +356,11 @@ mozilla_init_plugin_path ()
user_path = g_getenv ("MOZ_PLUGIN_PATH");
new_path = g_strconcat (user_path ? user_path : "",
user_path ? ":" : "",
- MOZILLA_PREFIX "/lib/mozilla/plugins:"
- MOZILLA_HOME "/plugins",
+ MOZILLA_PREFIX "/lib/mozilla/plugins"
+ ":" MOZILLA_HOME "/plugins",
+#ifdef HAVE_PRIVATE_PLUGINS
+ ":" PLUGINDIR,
+#endif
NULL);
g_setenv ("MOZ_PLUGIN_PATH", new_path, TRUE);