X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstaticlibrary.cpp;h=54fd7926f3e0c644bb62a2a464e21135176f1321;hb=bb5c048950a011f181cb3235ed2b0b2677869171;hp=df0cc7cb5811e9b2386f7fa398d9356a91ab1906;hpb=4fcc283a4bb1f695bd124006906bcdaba053193f;p=builder.git diff --git a/source/staticlibrary.cpp b/source/staticlibrary.cpp index df0cc7c..54fd792 100644 --- a/source/staticlibrary.cpp +++ b/source/staticlibrary.cpp @@ -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(); }