X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmingwdlltool.cpp;h=1bb35093620aac6edfda6f85dd149514bdd91596;hb=43d1143e6dc6bbf3797dbaae42d4bfce3dea5d88;hp=f44f5754a1ef4f8d45ec639ff045716a9f7b830a;hpb=9e28243c9687608ec3c32954b4031490296ae877;p=builder.git diff --git a/source/mingwdlltool.cpp b/source/mingwdlltool.cpp index f44f575..1bb3509 100644 --- a/source/mingwdlltool.cpp +++ b/source/mingwdlltool.cpp @@ -1,7 +1,6 @@ #include #include #include -#include "architecture.h" #include "builder.h" #include "component.h" #include "exportdefinitions.h" @@ -58,10 +57,7 @@ Target *MingwDllTool::create_install(Target &target) const 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