deploy_tool/main.cpp

This commit is contained in:
2021-04-18 20:05:00 +03:00
parent 5e735992fa
commit 4c52b1bf5e

View File

@@ -494,7 +494,7 @@ void patchRPath(const PIString & file, bool eval) {
PIString rp = rpath; PIString rp = rpath;
if (eval) { if (eval) {
PIFile::FileInfo fi(file); PIFile::FileInfo fi(file);
PIString rp = PIDir(fi.dir()).relative(out_dir); rp = PIDir(fi.dir()).relative(out_dir);
if (rp.isEmpty()) rp = "."; if (rp.isEmpty()) rp = ".";
rp.prepend("\\$ORIGIN/"); rp.prepend("\\$ORIGIN/");
} }