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

                                 
                                               


                           
                                                                                 
                                                                                    



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