deploy_tool fix
This commit is contained in:
@@ -492,7 +492,7 @@ void patchNameTool() {
|
|||||||
|
|
||||||
void patchRPathFile(const PIFile::FileInfo & file) {
|
void patchRPathFile(const PIFile::FileInfo & file) {
|
||||||
PIString fo = execute("file \"" + file.path + "\"");
|
PIString fo = execute("file \"" + file.path + "\"");
|
||||||
if (!fo.contains("ELF") || !fo.contains("executable")) return;
|
if (!fo.contains("ELF")) return;
|
||||||
PIString rp = "\\$ORIGIN:\\$ORIGIN/lib";
|
PIString rp = "\\$ORIGIN:\\$ORIGIN/lib";
|
||||||
PIString arp = PIDir(file.dir()).relative(out_dir);
|
PIString arp = PIDir(file.dir()).relative(out_dir);
|
||||||
if (!arp.isEmpty() && arp != "." && arp != "lib")
|
if (!arp.isEmpty() && arp != "." && arp != "lib")
|
||||||
|
|||||||
Reference in New Issue
Block a user