mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 970123 - Avoid read-aheading icudt52.dll for better startup performance; r=glandium
This commit is contained in:
parent
793a4c7ab5
commit
3ffdf39409
@ -103,7 +103,11 @@ def dependentlibs(lib, libpaths, func):
|
||||
deppath = os.path.join(dir, dep)
|
||||
if os.path.exists(deppath):
|
||||
deps.extend([d for d in dependentlibs(deppath, libpaths, func) if not d in deps])
|
||||
deps.append(dep)
|
||||
# Black list the ICU data DLL because preloading it at startup
|
||||
# leads to startup performance problems because of its excessive
|
||||
# size (around 10MB).
|
||||
if not dep.startswith("icudt"):
|
||||
deps.append(dep)
|
||||
break
|
||||
|
||||
return deps
|
||||
|
Loading…
Reference in New Issue
Block a user