X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstaticlibrary.cpp;h=13c4e6798bbc519f100f7bde175f1dceecabdf8c;hb=7e5ac6af8987bf12f3e338d00e96e8cb74f3534b;hp=c5998867ecb2368a11b3cd0bb59648d84e6442fb;hpb=04c316da6d5d90e43cba262f54d90ca231f703bf;p=builder.git diff --git a/source/staticlibrary.cpp b/source/staticlibrary.cpp index c599886..13c4e67 100644 --- a/source/staticlibrary.cpp +++ b/source/staticlibrary.cpp @@ -1,11 +1,3 @@ -/* $Id$ - -This file is part of builder -Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#include "archive.h" #include "component.h" #include "objectfile.h" #include "sourcepackage.h" @@ -18,14 +10,10 @@ StaticLibrary::StaticLibrary(Builder &b, const Component &c, const list::const_iterator i=objs.begin(); i!=objs.end(); ++i) add_depend(*i); -} -Action *StaticLibrary::create_action() -{ - return new Archive(builder, *this); + install_location = "lib"; } Msp::FS::Path StaticLibrary::generate_target_path(const Component &c)