X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinary.cpp;h=636def98a295f318e0926cec71b39a277b7f3e21;hb=05a2b9dabd01414e9e9a91f9d69babaca4ccb32d;hp=590471f3a0f75e286f55c6afd4f04f2c62a4b447;hpb=20994a6f4802f2dbcf01888d0e1996edf554ade5;p=builder.git diff --git a/source/binary.cpp b/source/binary.cpp index 590471f..636def9 100644 --- a/source/binary.cpp +++ b/source/binary.cpp @@ -53,8 +53,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()); }