X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinary.cpp;h=b3f018488347fc090d57839a0a0cc7344eaf40e2;hb=16bda19cc87b5064daad9955f0ebb5ac5be7dec7;hp=b8445c14079c8e73946862aa1d34e4d4954cbd4d;hpb=be6c1ae1dcc97cb3e3019c0384f1bc933fcd321c;p=builder.git diff --git a/source/binary.cpp b/source/binary.cpp index b8445c1..b3f0184 100644 --- a/source/binary.cpp +++ b/source/binary.cpp @@ -18,13 +18,6 @@ Binary::Binary(Builder &b, const Component &c, const list &objs): { for(list::const_iterator i=objs.begin(); i!=objs.end(); ++i) add_depend(*i); - - if(c.get_type()==Component::LIBRARY) - install_location = "lib"; - else if(c.get_type()==Component::MODULE) - install_location = "lib/"+package->get_name(); - else if(c.get_type()==Component::PROGRAM) - install_location = "bin"; } void Binary::find_depends()