X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fstaticlibrary.cpp;h=45ec3df5b64a0251ae00506706f7b4ae81314de6;hb=632361796a7ddadf8a726526c937fab22281fb7b;hp=c7fd78157b5ead882954dd1274464949fa9fdedf;hpb=172db6b81ecc2aa418729a6815b9134a685545fc;p=builder.git diff --git a/source/staticlibrary.cpp b/source/staticlibrary.cpp index c7fd781..45ec3df 100644 --- a/source/staticlibrary.cpp +++ b/source/staticlibrary.cpp @@ -7,10 +7,9 @@ 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);