Add 'isRpath' definition forgot in PR

This commit is contained in:
Pablo Marcos Oltra 2018-04-17 07:42:15 +02:00
parent 7cf93807a1
commit 8056cb70ae
1 changed files with 5 additions and 0 deletions

View File

@ -47,6 +47,11 @@ void changeLibPathsOnFile(std::string file_to_fix)
}
}
bool isRpath(const std::string& path)
{
return path.find("@rpath") == 0;
}
void collectRpaths(const std::string& filename)
{
if (!fileExists(filename))