]> git.tdb.fi Git - builder.git/blobdiff - source/staticlibrary.cpp
Add DependencyCache to speed up build preparation
[builder.git] / source / staticlibrary.cpp
index df0cc7cb5811e9b2386f7fa398d9356a91ab1906..54fd7926f3e0c644bb62a2a464e21135176f1321 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #include "archive.h"
 #include "component.h"
 #include "objectfile.h"
@@ -22,5 +29,5 @@ Action *StaticLibrary::build()
 
 string StaticLibrary::generate_target_name(const Component &c)
 {
-       return (c.get_package().get_source()/("lib"+c.get_name()+".a")).str();
+       return (c.get_package().get_out_dir()/("lib"+c.get_name()+".a")).str();
 }