#include "link.h"
#include "objectfile.h"
#include "package.h"
+#include "sharedlibrary.h"
#include "staticlibrary.h"
using namespace std;
void Executable::find_depends()
{
LibMode libmode=comp.get_package().get_library_mode();
+ if(dynamic_cast<SharedLibrary *>(this))
+ libmode=DYNAMIC;
list<const Component *> queue;
list<Target *> dep_libs;