]> git.tdb.fi Git - builder.git/blobdiff - source/gnucompiler.cpp
Reorder Config members
[builder.git] / source / gnucompiler.cpp
index 36903937546a678f07e59e4bc2f101ddcb47b474..a6d27052e292e032123e4d5f1e7fbb94aa03c333 100644 (file)
@@ -82,7 +82,7 @@ Task *GnuCompiler::run(const Target &target) const
 
        FS::Path obj_path = object.get_path();
        FS::Path src_path = object.get_source().get_path();
-       FS::Path work_dir = comp.get_package().get_source();
+       FS::Path work_dir = comp.get_package().get_source_directory();
 
        argv.push_back("-o");
        argv.push_back(relative(obj_path, work_dir).str());