projects
/
platform
/
core
/
dotnet
/
launcher.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Quick&Dirty patch to reduce icu searching overhead (#453)
[platform/core/dotnet/launcher.git]
/
NativeLauncher
/
launcher
/
lib
/
core_runtime.cc
diff --git
a/NativeLauncher/launcher/lib/core_runtime.cc
b/NativeLauncher/launcher/lib/core_runtime.cc
index
3c7a42d
..
fcbf7ea
100644
(file)
--- a/
NativeLauncher/launcher/lib/core_runtime.cc
+++ b/
NativeLauncher/launcher/lib/core_runtime.cc
@@
-192,6
+192,9
@@
static void initEnvForSpecialFolder()
static void setLang()
{
+ //To reduce search overhead of libicuuc.so.xx
+ setenv("CLR_ICU_VERSION_OVERRIDE", "build", 1);
+
char* lang = vconf_get_str(VCONFKEY_LANGSET);
if (!lang) {
_ERR("Fail to get language from vconf");