]> git.tdb.fi Git - builder.git/blobdiff - source/binary.cpp
Move some install location assignments to more logical places
[builder.git] / source / binary.cpp
index b8445c14079c8e73946862aa1d34e4d4954cbd4d..b3f018488347fc090d57839a0a0cc7344eaf40e2 100644 (file)
@@ -18,13 +18,6 @@ Binary::Binary(Builder &b, const Component &c, const list<ObjectFile *> &objs):
 {
        for(list<ObjectFile *>::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()