This isn't very elegant, but I need more time to come up with a proper
implementation.
const BuildInfo &binfo = c->get_build_info();
for(BuildInfo::WordList::const_iterator i=binfo.libs.begin(); i!=binfo.libs.end(); ++i)
{
+ if(i->size()>10 && !i->compare(i->size()-10, 10, ".framework"))
+ continue;
+
BuildInfo::LibraryMode libmode = component->get_build_info().get_libmode_for(*i);
Target *lib = builder.get_vfs().find_library(*i, binfo.libpath, libmode);
if(lib)
}
}
+ for(BuildInfo::WordList::const_iterator i=binfo.libs.begin(); i!=binfo.libs.end(); ++i)
+ if(i->size()>10 && !i->compare(i->size()-10, 10, ".framework"))
+ {
+ argv.push_back("-framework");
+ argv.push_back(i->substr(0, i->size()-10));
+ }
+
if(need_l_objc)
argv.push_back("-lobjc");
if(static_link_ok)