#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;
deps_ready=true;
}
-Action *Executable::build()
+Action *Executable::create_action()
{
- return Target::build(new Link(builder, *this));;
+ return new Link(builder, *this);
}
/**