deploy_tool/main.cpp
This commit is contained in:
@@ -494,7 +494,7 @@ void patchRPath(const PIString & file, bool eval) {
|
||||
PIString rp = rpath;
|
||||
if (eval) {
|
||||
PIFile::FileInfo fi(file);
|
||||
PIString rp = PIDir(fi.dir()).relative(out_dir);
|
||||
rp = PIDir(fi.dir()).relative(out_dir);
|
||||
if (rp.isEmpty()) rp = ".";
|
||||
rp.prepend("\\$ORIGIN/");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user