X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsharedlibrary.cpp;h=305061a02c5bd7c617ad8c4b8febb57d4ddd8197;hb=0f7867524bf87a389ff5d4f9d3290d68a254b693;hp=ae44f2cd5751701dff67a5e18dc29183960adb6b;hpb=6e02286dcbd62b8f5ef56987c2298d54b689ad9c;p=builder.git diff --git a/source/sharedlibrary.cpp b/source/sharedlibrary.cpp index ae44f2c..305061a 100644 --- a/source/sharedlibrary.cpp +++ b/source/sharedlibrary.cpp @@ -2,6 +2,7 @@ #include #include "builder.h" #include "component.h" +#include "objectfile.h" #include "sharedlibrary.h" #include "sourcepackage.h" @@ -48,6 +49,9 @@ SharedLibrary::SharedLibrary(Builder &b, const Component &c, const list::const_iterator i=objects.begin(); i!=objects.end(); ++i) + (*i)->set_used_in_shared_library(true); } string SharedLibrary::generate_filename(const Component &comp)