GnuArchiver::GnuArchiver(Builder &b, const Architecture &a):
Tool(b, a, "AR")
{
+ set_command("ar", true);
input_suffixes.push_back(".o");
}
return lib;
}
-void GnuArchiver::do_prepare()
-{
- set_executable("ar", true);
-}
-
Task *GnuArchiver::run(const Target &target) const
{
const StaticLibrary &lib = dynamic_cast<const StaticLibrary &>(target);