X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fobjectfile.cpp;h=6183d20de19285900e11c177a2b804ecbd096f16;hb=e33295642f19558bb43f66a1ef4779ef97979653;hp=fd1c9758d8f498e04f227bd752cb80f866e4fd30;hpb=66d1078c04849ec17a7343d0494d6ed087e04318;p=builder.git diff --git a/source/objectfile.cpp b/source/objectfile.cpp index fd1c975..6183d20 100644 --- a/source/objectfile.cpp +++ b/source/objectfile.cpp @@ -56,7 +56,7 @@ void ObjectFile::find_depends(Target *tgt) if(!src) return; - FS::Path spath=src->get_path(); + FS::Path spath=FS::dirname(src->get_path()); const StringList &incpath=comp.get_build_info().incpath; const list &includes=src->get_includes();