summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author이형주/Common Platform Lab(SR)/삼성전자 <leee.lee@samsung.com>2022-12-08 17:36:54 +0900
committerGitHub Enterprise <noreply-CODE@samsung.com>2022-12-08 17:36:54 +0900
commit900378c701809716af93ca6dc2a8c1705f5b0b49 (patch)
tree379cce0783629ef776f8db95cc102ff860f1f38f
parentad28ec22ddb18045ae65fac09feb9cb3aad19188 (diff)
downloadlauncher-900378c701809716af93ca6dc2a8c1705f5b0b49.tar.gz
launcher-900378c701809716af93ca6dc2a8c1705f5b0b49.tar.bz2
launcher-900378c701809716af93ca6dc2a8c1705f5b0b49.zip
Quick&Dirty patch to reduce icu searching overhead (#453)accepted/tizen/unified/20221209.014605
* Quick&Dirty patch to reduce icu searching overhead * Fix version to `build` to use build time icu first.
-rw-r--r--NativeLauncher/launcher/lib/core_runtime.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/NativeLauncher/launcher/lib/core_runtime.cc b/NativeLauncher/launcher/lib/core_runtime.cc
index 3c7a42d..fcbf7ea 100644
--- 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");