_SOUT("Native image %s generated successfully.", niPath.c_str());
}
+ } else {
+ _SERR("Failed. Forked process terminated abnormally");
}
} else {
std::vector<const char*> argv;
}
_SOUT("Native image %s generated successfully.", niPath.c_str());
+ } else {
+ _SERR("Failed. Forked process terminated abnormally");
}
} else {
std::vector<const char*> argv;
return ret;
}
- return createNIUnderDirs(__pm->getRuntimePath() + ":" + __pm->getTizenFXPath(), opt);
+ ret = createNIUnderDirs(__pm->getRuntimePath(), opt);
+ if (ret != NI_ERROR_NONE) {
+ return ret;
+ }
+
+ return createNIUnderDirs(__pm->getTizenFXPath(), opt);
}
ni_error_e createNIDll(const std::string& dllPath, NIOption* opt)