Bug-fix: fix path for pdb file copying (#392)
author조웅석/Common Platform Lab(SR)/삼성전자 <ws77.cho@samsung.com>
Mon, 7 Mar 2022 23:51:15 +0000 (08:51 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Mon, 7 Mar 2022 23:51:15 +0000 (08:51 +0900)
NativeLauncher/tool/ni_common.cc

index 2ed4b32..859c60a 100644 (file)
@@ -407,7 +407,7 @@ static ni_error_e crossgen2PostAction(const std::string& dllPath, const std::str
        if (opt->flags & NI_FLAGS_APPNI) {
                std::string appNIPath = getAppNIFilePath(dllPath, opt);
                moveFile(niPath, appNIPath);
-               makePdbSymlinkForNI(dllPath, niPath);
+               makePdbSymlinkForNI(dllPath, appNIPath);
                _SOUT("Native image %s generated successfully.", appNIPath.c_str());
        } else {
                _SOUT("Native image %s generated successfully.", niPath.c_str());