if (exist(pdbPath)) {
std::string targetPDBPath = changeExtension(niPath, ".ni.dll", ".pdb");
if (!exist(targetPDBPath)) {
- bf::create_symlink(pdbPath, targetPDBPath);
+ bf::create_symlink(concatPath("..", getFileName(pdbPath)), targetPDBPath);
copySmackAndOwnership(pdbPath, targetPDBPath, true);
}
}
std::string niFile = ni.path().string();
if (isNativeImage(niFile)) {
std::string dllFile = changeExtension(niFile, ".ni.dll", ".dll");
- bf::create_symlink(niFile, dllFile);
+ bf::create_symlink(getFileName(niFile), dllFile);
copySmackAndOwnership(niFile, dllFile, true);
}
}