diff --git a/src/DylibBundler.cpp b/src/DylibBundler.cpp index 8e4926c..71fb795 100644 --- a/src/DylibBundler.cpp +++ b/src/DylibBundler.cpp @@ -92,7 +92,9 @@ void collectDependencies(std::string filename) { std::cout << "."; fflush(stdout); if(lines[n][0] != '\t') continue; // only lines beginning with a tab interest us - if( lines[n].find(".framework") != std::string::npos ) continue; //Ignore frameworks, we can not handle them + if( lines[n].find(".framework") != std::string::npos ) + if( lines[n].find(".dylib") == 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].rfind(" (") - 1) @@ -118,7 +120,9 @@ void collectSubDependencies() for(int n=0; n