summaryrefslogtreecommitdiff
path: root/www/libxul/files/patch-xulrunner-stub-nsXULStub.cpp
blob: 83bda6c59b89a600b7853157759d2649515438f8 (plain) (blame)
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/gecko19:%%LOCALBASE%%/lib/npapi/symlinks/xulrunner", 0);
+
 #if defined(XP_MACOSX)
   CFBundleRef appBundle = CFBundleGetMainBundle();
   if (!appBundle)