#include <cstdlib>
#include <msp/fs/utils.h>
#include <msp/strings/format.h>
-#include "architecture.h"
#include "builder.h"
#include "component.h"
#include "exportdefinitions.h"
void MingwDllTool::do_prepare()
{
- string command = "dlltool";
- if(architecture->is_cross())
- command = format("%s-%s", architecture->get_cross_prefix(), command);
- executable = builder.get_vfs().find_binary(command);
+ set_executable("dlltool", true);
}
Task *MingwDllTool::run(const Target &target) const