diff options
author | 이형주/Common Platform Lab(SR)/삼성전자 <leee.lee@samsung.com> | 2022-12-08 17:36:54 +0900 |
---|---|---|
committer | GitHub Enterprise <noreply-CODE@samsung.com> | 2022-12-08 17:36:54 +0900 |
commit | 900378c701809716af93ca6dc2a8c1705f5b0b49 (patch) | |
tree | 379cce0783629ef776f8db95cc102ff860f1f38f | |
parent | ad28ec22ddb18045ae65fac09feb9cb3aad19188 (diff) | |
download | launcher-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.cc | 3 |
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"); |