Quick&Dirty patch to reduce icu searching overhead (#453)
[platform/core/dotnet/launcher.git] / NativeLauncher / launcher / lib / core_runtime.cc
index 3c7a42d..fcbf7ea 100644 (file)
@@ -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");