mirror of
https://github.com/status-im/macdylibbundler.git
synced 2025-02-22 07:38:09 +00:00
Fix mistake in mapping path of dependent file
This commit is contained in:
parent
03485d74d2
commit
1571c0f736
@ -267,14 +267,12 @@ void collectSubDependencies()
|
|||||||
|
|
||||||
// trim useless info, keep only library name
|
// trim useless info, keep only library name
|
||||||
std::string dep_path = lines[n].substr(1, lines[n].rfind(" (") - 1);
|
std::string dep_path = lines[n].substr(1, lines[n].rfind(" (") - 1);
|
||||||
std::string full_path = dep_path;
|
|
||||||
if (isRpath(dep_path))
|
if (isRpath(dep_path))
|
||||||
{
|
{
|
||||||
full_path = searchFilenameInRpaths(dep_path);
|
collectRpathsForFilename(searchFilenameInRpaths(dep_path));
|
||||||
collectRpathsForFilename(full_path);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
addDependency(dep_path, full_path);
|
addDependency(dep_path, original_path);
|
||||||
}//next
|
}//next
|
||||||
}//next
|
}//next
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user