The change in
6280e72 turned out to be incorrect after all, and I can't
remember of find any bug that it fixed.
if(l.size()>10 && !l.compare(l.size()-10, 10, ".framework"))
continue;
- BuildInfo::LibraryMode libmode = binfo.get_libmode_for(l);
+ /* Get libmode from the final target's build info to allow setting modes
+ for transitive libraries. */
+ BuildInfo::LibraryMode libmode = component->get_build_info().get_libmode_for(l);
Target *lib = builder.get_vfs().find_library(l, binfo.libpath, libmode);
if(lib)
{