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 2ed4b325bb421528d3a922426374a6907716754a..859c60aa6591b2feeb367eb078c2bbf86ac59000 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());