aboutsummaryrefslogblamecommitdiff
path: root/www/libxul/files/patch-xulrunner-stub-nsXULStub.cpp
blob: cb0e7f7b9abd2fabd95f5b10105c346490dabb3d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11





                                               
                                                                                    



                                                   
--- xulrunner/stub/nsXULStub.cpp~
+++ xulrunner/stub/nsXULStub.cpp
@@ -202,6 +202,8 @@ main(int argc, char **argv)
   char greDir[MAXPATHLEN];
   bool greFound = false;
 
+  setenv("MOZ_PLUGIN_PATH", "%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko", 0);
+
 #if defined(XP_MACOSX)
   CFBundleRef appBundle = CFBundleGetMainBundle();
   if (!appBundle)