static std::string getExtraNativeLibDirs(const std::string& appRoot)
{
std::vector<std::string> RID_FALLBACK_GRAPH;
- std::vector<std::string> RID_FALLBACK_TIZEN;
char* tizen_rid = vconf_get_str(__TIZEN_RID_VERSION_KEY);
if (tizen_rid) {
std::vector<std::string> version;
splitPath(tizen_rid, version);
std::reverse(std::begin(version), std::end(version));
for (unsigned int i = 0; i < version.size(); i++) {
- RID_FALLBACK_TIZEN.push_back(std::string("tizen." + version[i] + "-" + ARCHITECTURE_IDENTIFIER));
- RID_FALLBACK_TIZEN.push_back(std::string("tizen." + version[i]));
+ RID_FALLBACK_GRAPH.push_back(std::string("tizen." + version[i] + "-" + ARCHITECTURE_IDENTIFIER));
+ RID_FALLBACK_GRAPH.push_back(std::string("tizen." + version[i]));
}
free(tizen_rid);
}
std::string appTac = concatPath(appBin, TAC_SYMLINK_SUB_DIR);
std::string probePath = appRoot + ":" + appBin + ":" + appLib + ":" + appTac;
std::string NIprobePath = concatPath(appBin, APP_NI_SUB_DIR) + ":" + concatPath(appLib, APP_NI_SUB_DIR) + ":" + appTac;
- std::string nativeLibPath = getExtraNativeLibDirs(appRoot) + ":" + appBin + ":" + appLib + ":" + __nativeLibDirectory + ":" + runtimeDir;
+ std::string nativeLibPath = runtimeDir + ":" + __nativeLibDirectory + ":" + getExtraNativeLibDirs(appRoot) + ":" + appBin + ":" + appLib;
if (!initializeCoreClr(appName.c_str(), probePath.c_str(), NIprobePath.c_str(), nativeLibPath.c_str(), tpa.c_str())) {
_ERR("Failed to initialize coreclr");