]> git.tdb.fi Git - builder.git/blobdiff - source/component.cpp
Make symlink a feature of the Install target rather than a target on its own
[builder.git] / source / component.cpp
index 4451a69f662f4074260520f4173eb98ec318dac8..c12399f670f944e2a22f953862f3763ba05ff795 100644 (file)
@@ -15,7 +15,6 @@
 #include "sharedlibrary.h"
 #include "sourcepackage.h"
 #include "staticlibrary.h"
-#include "symlink.h"
 #include "tarball.h"
 #include "target.h"
 
@@ -221,11 +220,6 @@ void Component::create_targets() const
        {
                Install *inst = new Install(builder, pkg, **i, inst_loc);
                inst_tgt->add_depend(inst);
-
-               if(type==LIBRARY)
-                       if(SharedLibrary *shlib = dynamic_cast<SharedLibrary *>(*i))
-                               if(!shlib->get_soname().empty())
-                                       inst_tgt->add_depend(new Symlink(builder, pkg, *inst, shlib->get_name()));
        }
 }