aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mozilla/firefox-3.6/plugins-dir.patch
blob: 2c8b8e9bd1fded6a2d52b91eef07447b478cb87f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: mozilla-1.9.1/build/unix/mozilla.in
===================================================================
--- mozilla-1.9.1.orig/build/unix/mozilla.in
+++ mozilla-1.9.1/build/unix/mozilla.in
@@ -52,6 +52,11 @@
 
 moz_libdir=%MOZAPPDIR%
 
+if test -d /usr/lib/mozilla/plugins; then
+       MOZ_PLUGIN_PATH="${MOZ_PLUGIN_PATH:+"$MOZ_PLUGIN_PATH:"}/usr/lib/mozilla/plugins"
+       export MOZ_PLUGIN_PATH
+fi
+
 # Use run-mozilla.sh in the current dir if it exists
 # If not, then start resolving symlinks until we find run-mozilla.sh
 found=0