Fix processing of `otool` output
https://github.com/auriamg/macdylibbundler/issues/9
--- src/DylibBundler.cpp.orig 2013-09-08 04:44:52.000000000 -0500
+++ src/DylibBundler.cpp 2015-05-30 23:09:27.000000000 -0500
if( lines[n].find(".framework") != std::string::npos ) continue; //Ignore frameworks, we can not handle them
addDependency( // trim useless info, keep only library name
- lines[n].substr(1, lines[n].find(" (") )
+ lines[n].substr(1, lines[n].rfind(" (") - 1)
if( lines[n].find(".framework") != std::string::npos ) continue; //Ignore frameworks, we can not handle them
addDependency( // trim useless info, keep only library name
- lines[n].substr(1, lines[n].find(" (") )
+ lines[n].substr(1, lines[n].rfind(" (") - 1)