X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinary.cpp;h=fcf30f1d1fca03170f868ac7423ced7d37605683;hb=42d80b43a463627e0e7edf6df3be9bd4b976d74c;hp=e5968c0de411d8c548b0365e69099adfc276aa8a;hpb=91027467faed55accfc79bda525e10d1395cb2a9;p=builder.git diff --git a/source/binary.cpp b/source/binary.cpp index e5968c0..fcf30f1 100644 --- a/source/binary.cpp +++ b/source/binary.cpp @@ -56,7 +56,12 @@ void Binary::find_dependencies() BuildInfo binfo; tgt->collect_build_info(binfo); if(tgt!=this) + { static_binfo.libpath.insert(static_binfo.libpath.end(), binfo.libpath.begin(), binfo.libpath.end()); + static_binfo.keep_symbols.insert(static_binfo.keep_symbols.end(), binfo.keep_symbols.begin(), binfo.keep_symbols.end()); + if(binfo.threads) + static_binfo.threads = true; + } list::iterator insert_pos = j; ++insert_pos;