Bug-fix: fix target dll searching logic accepted/tizen/unified/20240423.164559 accepted/tizen/unified/dev/20240620.005424 accepted/tizen/unified/x/20240425.051143
authorWoongsuk Cho <ws77.cho@samsung.com>
Tue, 16 Apr 2024 04:20:11 +0000 (13:20 +0900)
committer조웅석/MDE Lab(SR)/삼성전자 <ws77.cho@samsung.com>
Tue, 16 Apr 2024 04:38:20 +0000 (13:38 +0900)
check the target dll is an R2R image or not

NativeLauncher/tool/ni_common.cc

index 36c20406f89067bbf8cf17df37d696cc1162c9c9..3b463cf95fd6dc36936dfb090c0d7cb91214534b 100644 (file)
@@ -321,7 +321,7 @@ static ni_error_e getTargetDllList(const std::string& path, std::vector<std::str
        }
 
        auto func = [&fileList, opt](const std::string& f_path, const std::string& f_name) {
-               if (isManagedAssembly(f_name) && !checkNIExistence(f_path, opt)) {
+               if (isManagedAssembly(f_name) && !isR2RImage(f_path) && !checkNIExistence(f_path, opt)) {
                        fileList.push_back(getAbsolutePath(f_path));
                }
        };