1 diff -ruNp mozilla.orig/toolkit/mozapps/installer/packager.py mozilla/toolkit/mozapps/installer/packager.py
2 --- mozilla.orig/toolkit/mozapps/installer/packager.py 2015-04-03 04:30:06.000000000 +0200
3 +++ mozilla/toolkit/mozapps/installer/packager.py 2015-04-10 14:52:45.133163567 +0200
4 @@ -152,7 +152,7 @@ def precompile_cache(formatter, source_p
5 '-e', 'precompile_startupcache("resource://%s/");'
7 extra_linker_path=gre_path,
8 - extra_env={'MOZ_STARTUP_CACHE': cache}):
9 + extra_env={'MOZ_STARTUP_CACHE': cache, 'LD_PRELOAD': os.path.join(gre_path, 'libxul.so')}):
10 errors.fatal('Error while running startup cache precompilation')
12 from mozpack.mozjar import JarReader