X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fbinary.cpp;h=aa75b4599a52486614cd7c8df74a6a3f40bab2ab;hb=43bd25ffcb0b4f7882773f4676b209a99cb73c04;hp=590471f3a0f75e286f55c6afd4f04f2c62a4b447;hpb=75bdcf13fbd285e2006337ec606ca28fa4ddae9e;p=builder.git diff --git a/source/binary.cpp b/source/binary.cpp index 590471f..aa75b45 100644 --- a/source/binary.cpp +++ b/source/binary.cpp @@ -1,12 +1,5 @@ -/* $Id$ - -This file is part of builder -Copyright © 2006-2010 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #include -#include +#include #include "binary.h" #include "builder.h" #include "component.h" @@ -53,8 +46,7 @@ void Binary::find_depends() { dep_libs.push_back(lib); - if(Install *inst = dynamic_cast(lib)) - lib = &inst->get_source(); + lib = lib->get_real_target(); if(StaticLibrary *stlib = dynamic_cast(lib)) queue.push_back(&stlib->get_component()); }