includes=deps_cache.get_deps(name);
const StringList &incpath=comp->get_build_info().incpath;
- const string &arch=comp->get_package().get_arch();
string path=name.substr(0, name.rfind('/'));
for(list<string>::iterator i=includes.begin(); i!=includes.end(); ++i)
{
- Target *hdr=builder.get_header(*i, arch, path, incpath);
+ Target *hdr=builder.get_header(*i, path, incpath);
if(hdr)
add_depend(hdr);
}