X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fobjectfile.cpp;h=e13b0820dc633739fb966573249de4e816828e18;hb=bd2a50ecb9f582c6e9569ffc9f33d41f10363c5f;hp=4fb2ee4a87fba7c8c7b4b5d33f4da925a1732053;hpb=338eefb513953ae55e8e3614c009c242ba8ad74e;p=builder.git diff --git a/source/objectfile.cpp b/source/objectfile.cpp index 4fb2ee4..e13b082 100644 --- a/source/objectfile.cpp +++ b/source/objectfile.cpp @@ -50,7 +50,7 @@ void ObjectFile::find_depends(Target *tgt) const list &includes = src->get_includes(); for(list::const_iterator i=includes.begin(); i!=includes.end(); ++i) { - Target *hdr = builder.get_header(*i, spath, incpath); + Target *hdr = builder.get_vfs().find_header(*i, spath, incpath); if(hdr && find(depends.begin(), depends.end(), hdr)==depends.end()) add_depend(hdr); }