Apply patch by ryandesign , fixes #9
This commit is contained in:
parent
ef5df0baf5
commit
8eb915a019
|
@ -94,7 +94,7 @@ void collectDependencies(std::string filename)
|
||||||
if( lines[n].find(".framework") != std::string::npos ) continue; //Ignore frameworks, we can not handle them
|
if( lines[n].find(".framework") != std::string::npos ) continue; //Ignore frameworks, we can not handle them
|
||||||
|
|
||||||
addDependency( // trim useless info, keep only library name
|
addDependency( // trim useless info, keep only library name
|
||||||
lines[n].substr(1, lines[n].find(" (") )
|
lines[n].substr(1, lines[n]rfind(" (") - 1)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -120,7 +120,7 @@ void collectSubDependencies()
|
||||||
if( lines[n].find(".framework") != std::string::npos ) continue; //Ignore frameworks, we can not handle them
|
if( lines[n].find(".framework") != std::string::npos ) continue; //Ignore frameworks, we can not handle them
|
||||||
|
|
||||||
addDependency( // trim useless info, keep only library name
|
addDependency( // trim useless info, keep only library name
|
||||||
lines[n].substr(1, lines[n].find(" (") )
|
lines[n].substr(1, lines[n]rfind(" (") - 1)
|
||||||
);
|
);
|
||||||
}//next
|
}//next
|
||||||
}//next
|
}//next
|
||||||
|
|
Loading…
Reference in New Issue