]> git.tdb.fi Git - builder.git/blobdiff - source/objectfile.cpp
Bugfixes
[builder.git] / source / objectfile.cpp
index fd1c9758d8f498e04f227bd752cb80f866e4fd30..6183d20de19285900e11c177a2b804ecbd096f16 100644 (file)
@@ -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<string> &includes=src->get_includes();