X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstaticlibrary.cpp;h=45ec3df5b64a0251ae00506706f7b4ae81314de6;hb=632361796a7ddadf8a726526c937fab22281fb7b;hp=f69f98f85fd141e7e0a386d7be01c6c3bf44780e;hpb=338eefb513953ae55e8e3614c009c242ba8ad74e;p=builder.git diff --git a/source/staticlibrary.cpp b/source/staticlibrary.cpp index f69f98f..45ec3df 100644 --- a/source/staticlibrary.cpp +++ b/source/staticlibrary.cpp @@ -7,12 +7,13 @@ using namespace std; StaticLibrary::StaticLibrary(Builder &b, const Component &c, const list &objs): FileTarget(b, &c.get_package(), generate_target_path(c)), - Library(b, package, path, c.get_name()), - comp(c) + Library(b, package, path, c.get_name()) { - buildable = true; + component = &c; for(list::const_iterator i=objs.begin(); i!=objs.end(); ++i) add_depend(*i); + + install_location = "lib"; } Msp::FS::Path StaticLibrary::generate_target_path(const Component &c)